I want to find the eigenvectors of a matrix corresponding to imaginary eigenvalues.
2 次查看(过去 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!