how to form matrix
Show older comments
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];
Answers (2)
From this documentation:
Try:
m = [ m11 m12 m13;
m21 m22 m23;
m31 m32 m33];
Walter Roberson
on 20 Feb 2019
0 votes
reshape(mm,3,3).'
Categories
Find more on Operators and Elementary Operations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!