MATLAB Answers

0

how to form matrix

Asked by k vijaya bhaskar on 20 Feb 2019
Latest activity Answered by Walter Roberson
on 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];

  0 Comments

Sign in to comment.

2 Answers

Answer by M
on 20 Feb 2019
Edited by M
on 20 Feb 2019

From this documentation:
Try:
m = [ m11 m12 m13;
m21 m22 m23;
m31 m32 m33];

  0 Comments

Sign in to comment.


Answer by Walter Roberson
on 20 Feb 2019

reshape(mm,3,3).'

  0 Comments

Sign in to comment.