Community Profile

photo

David Mao


Last seen: 3 months ago Active since 2021

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Question


Using matrix to index another matrix?
Hello, I have an N x 3 matrix that contains indices for an N x 2 x 2 x 2 matrix. An example for N=3: A = [1 2 2; 2 1 2; 2 2 2] ...

5 months ago | 1 answer | 0

1

answer

Question


For loop over each dimension of a n-dimensional matrix
I am trying to use a 1:n vector to populate a n-dimensional matrix. The matrix should describe the sum of some of the elements o...

6 months ago | 1 answer | 0

1

answer