draw mode shape with matlab
if M is your mass matrix and K is the stiffness matrix, use
[phi w2]=eig(K,M);
phi contains the eigenvectors (each column is a modeshape)
w2 is a diagonal matrix, each diagonal entry contains wn(i)^2
(i.e. the i'th natural frequency squared).
Then how to draw the mode shape with eigenvectors?
Thank you.