Having the eigenvalue of my matrix (Hamiltonian), how can I get the eigenvector associated with it?
조회 수: 5 (최근 30일)
이전 댓글 표시
채택된 답변
Matt J
2017년 6월 13일
V=null(A-eigenvalue*eye(size(A))
댓글 수: 2
John D'Errico
2017년 6월 13일
A virtue of this solution is that if the eigenvalue has multiplicity greater than 1, then V will contain all the eigenvectors associated with that eigenvalue.
A = ones(3);
A has one eigenvalue of 3, but 0 is an eigenvalue, with multiplicity 2.
null(A-3*eye(size(A)))
ans =
-0.57735
-0.57735
-0.57735
null(A-0*eye(size(A)))
ans =
0 0.8165
-0.70711 -0.40825
0.70711 -0.40825
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!