how to form matrix
古いコメントを表示
i am having the calculated values in elements m11, m12,m13,m21,m22,m23,,m31,m32,m34
now how can i display those values in matrix form as
m = [ m11 m12 m13
m21 m22 m23
m31 m32 m33];
回答 (2 件)
From this documentation:
Try:
m = [ m11 m12 m13;
m21 m22 m23;
m31 m32 m33];
Walter Roberson
2019 年 2 月 20 日
0 投票
reshape(mm,3,3).'
カテゴリ
ヘルプ センター および File Exchange で Operators and Elementary Operations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!