MATLAB Answers

how to form matrix

6 views (last 30 days)
k vijaya bhaskar
k vijaya bhaskar on 20 Feb 2019
Answered: 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.

Answers (2)

M
M on 20 Feb 2019
Edited: 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.


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

  0 Comments

Sign in to comment.

Sign in to answer this question.