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

6 visualizzazioni (ultimi 30 giorni)
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?

Risposta accettata

Walter Roberson
Walter Roberson il 22 Mar 2013
Use mat2cell()
  5 Commenti

Accedi per commentare.

Più risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by