How to reshape rows into columns
Ältere Kommentare anzeigen
How can I change the following matrix:
[1, 5,0,0; 2,4,0,0; 3, 2,6,4]
to look like:
[1,5; 2, 4; 3,2; 3,6; 3,4]?
Any suggestion would be great. Thanks
Akzeptierte Antwort
Weitere Antworten (1)
Sivakumaran Chandrasekaran
am 1 Sep. 2011
0 Stimmen
Hi, There is a command named reshape. Check with it.
2 Kommentare
Amandeep
am 1 Sep. 2011
Oleg Komarov
am 1 Sep. 2011
@Siva: if I were you I wouldn't leave my mail on a forum.
Kategorien
Mehr zu Creating and Concatenating Matrices finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!