I have a 3d matrix, A, with size, x by y by z. But my application requires me to use this as an array of 2d matrices. So I thought, I could do this…
B = A(:,:,1)% where B is a matrix of size x by y
That doesn't work, is there a way to efficiently do this without several for loops to assign the elements of matrix B one by one
Best Answer