MATLAB: How to reshape each column of a matrix

code

I have a matrix of size 262144×243. I want to reshape each column into 512×512. Such that there are 243 matrices of 512×512 size.

Best Answer

reshape(A,512,[],243)
Related Question