how to form matrix

5 visualizaciones (últimos 30 días)
k vijaya bhaskar
k vijaya bhaskar el 20 de Feb. de 2019
Respondida: Walter Roberson el 20 de Feb. de 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];

Respuestas (2)

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

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

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by