eig is not giving a matrix for left eigenvectors
이전 댓글 표시
I am trying to find the left and right eigenvectors of a 16 by 16 matrix with [V,D,W]=eig( mat ); V, and W are supposed to be matrices where the column vectors are the right and left eigenvectors, and while V meets this, W is a 1 by 16 row vector, W =
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
I haven't included the matrix itself because of its size but I can. Some assistance would be much appreciated.
댓글 수: 1
John D'Errico
2016년 7월 8일
Why not attach the matrix as a mat file? 16 by 16 is NOT large. In fact, it is trivially tiny.
채택된 답변
추가 답변 (1개)
John D'Errico
2016년 7월 8일
It works well enough for me, doing exactly as I would expect on a random matrix.
clear
[V,D,W] = eig(rand(16));
whos
Name Size Bytes Class Attributes
D 16x16 4096 double complex
V 16x16 4096 double complex
W 16x16 4096 double complex
So, if you are getting something completely different, then you need to show clearly what you did. You should attach the matrix as a .mat file to a comment.
카테고리
도움말 센터 및 File Exchange에서 Common Operations에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!