change array into matrix
5 ビュー (過去 30 日間)
古いコメントを表示
How to write a 4 values in rectangular grid a=[8 4 6 2]
it will become
a=
8 4
6 2
0 件のコメント
採用された回答
Mischa Kim
2014 年 2 月 1 日
編集済み: Mischa Kim
2014 年 2 月 1 日
b = reshape(a,2,2)
3 件のコメント
Mischa Kim
2014 年 2 月 1 日
Is this another question or are you confirming that the command does what you need it to do?
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!