I want to find the eigenvectors of a matrix corresponding to imaginary eigenvalues.
9 views (last 30 days)
Show older comments
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 Comments
Accepted Answer
Bruno Luong
on 19 Sep 2023
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)
More Answers (0)
See Also
Categories
Find more on Linear Algebra in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!