How to reshape rows into columns
古いコメントを表示
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
採用された回答
その他の回答 (1 件)
Sivakumaran Chandrasekaran
2011 年 9 月 1 日
0 投票
Hi, There is a command named reshape. Check with it.
2 件のコメント
Amandeep
2011 年 9 月 1 日
Oleg Komarov
2011 年 9 月 1 日
@Siva: if I were you I wouldn't leave my mail on a forum.
カテゴリ
ヘルプ センター および File Exchange で MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!