Why does test(2)=1 create a 1x2 array rather than a 2x1 array?
2 ビュー (過去 30 日間)
古いコメントを表示
Why does
test(2)=1
create a 1x2 array rather than a 2x1 array, when test has not been defined before? Is there any reasoning behind it?
0 件のコメント
回答 (1 件)
Walter Roberson
2016 年 3 月 12 日
History.
So that when people do quick calculations, the results will show up across the page rather than using up a lot of vertical lines each with small amounts of output.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Matrices and Arrays についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!