I want to find the eigenvectors of a matrix corresponding to imaginary eigenvalues.
1 回表示 (過去 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!