why matlab gave me 5 eigenvectors for 6*6 matrix?
Mostrar comentarios más antiguos
hi. i wanted to get eigenvectors of a 6*6 matrix. matlab must gave me 6 eigenvectors and 6 eigenvalues but it gave me 6 eigenvalues and 5 eigenvectors...
how is it possible?
clear;
syms x;
Ha='[x/2 0 0 0 0 0;0 -x/2 x 0 0 0;0 x -x/2 0 0 0;0 0 0 x/2 0 0;0 x 0 x 0 0;x 0 x 0 x 0]';
Haf = str2func(sprintf('@(%s)%s;','x',Ha));
[vectors,values]=eig(Haf(x));
vectors
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Eigenvalues and Eigenvectors en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
