Statistics
6 Questions
0 Answers
RANK
268,104
of 290,039
REPUTATION
0
CONTRIBUTIONS
6 Questions
0 Answers
ANSWER ACCEPTANCE
33.33%
VOTES RECEIVED
0
RANK
of 19,625
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 144,430
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Question
How can I efficiently extract a max along two dimensions, from a 4 dimensional array, without writing a double loop?
I have the following loop. It picks values from a matrix A(nb,nd). For each vaue of this matrix A it constructs a matrix B = F...
10 years ago | 1 answer | 0
1
answerQuestion
indexing into a matrix to eliminate a loop
This file generates an ergodic density matrix. I would like to get rid of the inner loop (over ii). The first line in the outer ...
10 years ago | 2 answers | 0
2
answersQuestion
How can I avoid a simple loop where matrices are created and then summed?
P is a matrix of size (ny,ny); F0 is a matrix of size (nh,ny); Each row of P multiplies its respective column of F0, creating ...
10 years ago | 2 answers | 0
2
answersQuestion
how to allocate elements of a vector into different rows in a matrix, preserving the column order?
Consider Z = zeros(4,2); X = [0.15 , 0.33]; P=[2 3]; I am looking for the simplest form of applying P to X and ...
10 years ago | 1 answer | 0
1
answerQuestion
indexing into a matrix
I have a dataset. It is a matrix Z with say, N total observations (rows), and K variables (columns). However, the total N obser...
10 years ago | 0 answers | 0
0
answersQuestion
What is the most compact way to update an index vector out of a cube?
I have 3 vectors each with n elements (n individuals). Two of them are exogenous state vectors y and r, both with n elements...
10 years ago | 1 answer | 0