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

6 vues (au cours des 30 derniers jours)
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?

Réponse acceptée

Walter Roberson
Walter Roberson le 22 Mar 2013
Use mat2cell()
  5 commentaires
nicolas
nicolas le 22 Mar 2013
thanks a lot, its so helpful

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by