I want to find the eigenvectors of a matrix corresponding to imaginary eigenvalues.
조회 수: 9 (최근 30일)
이전 댓글 표시
Using
[V, D]=eig(A)
the eigenvectors V correspond to eigenvalues which could be real or complex. But I want to know if it's possible to find V correspoindg to imaginary eigenvalues only. Thanks.
댓글 수: 0
채택된 답변
Bruno Luong
2023년 9월 19일
Use imag function
A=rand(5);
[V,d]=eig(A,'vector');
iscmplx=imag(d)~=0
d=d(iscmplx)
V=V(:,iscmplx) % corresponding eigen vectors (in each column)
추가 답변 (0개)
참고 항목
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!