MATLAB: I have a 1024*19 matrix and i want to create 19 matrices from each column

matrix

I have a 1024*19 matrix and i want to create 19 matrices from each column and save them seperately
I 'll try with this.
_*for i=1:19
C(i)=B(:,i)
save C(i)
end_*
but it isn't right. Does anyone has any idea?

Best Answer

Use mat2cell()
Related Question