how to form matrix

5 Ansichten (letzte 30 Tage)
k vijaya bhaskar
k vijaya bhaskar am 20 Feb. 2019
Beantwortet: Walter Roberson am 20 Feb. 2019
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];

Antworten (2)

M
M am 20 Feb. 2019
Bearbeitet: M am 20 Feb. 2019
From this documentation:
Try:
m = [ m11 m12 m13;
m21 m22 m23;
m31 m32 m33];

Walter Roberson
Walter Roberson am 20 Feb. 2019
reshape(mm,3,3).'

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by