how to form matrix

6 次查看(过去 30 天)
k vijaya bhaskar
k vijaya bhaskar 2019-2-20
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 个)

M
M 2019-2-20
编辑:M 2019-2-20
From this documentation:
Try:
m = [ m11 m12 m13;
m21 m22 m23;
m31 m32 m33];

Walter Roberson
Walter Roberson 2019-2-20
reshape(mm,3,3).'

类别

Help CenterFile Exchange 中查找有关 Genetic Algorithm 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by