how to rearrange an array? rows to columns?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
ex: a=[1 1 1; 2 2 2; 3 3 3]
to
aa=[1 2 3; 1 2 3; 1 2 3]
0 commentaires
Réponse acceptée
Plus de réponses (1)
John Lipsius
le 27 Mar 2013
>> a'
ans =
1 2 3
1 2 3
1 2 3
IT'S THE TRANSPOSE of a matrix. Check out Linear Algebra !!!
Voir également
Catégories
En savoir plus sur Linear Algebra dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!