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

3 views (last 30 days)
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?

Accepted Answer

Walter Roberson
Walter Roberson on 22 Mar 2013
Use mat2cell()
  5 Comments

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!