I want to find the eigenvectors of a matrix corresponding to imaginary eigenvalues.
9 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Akzeptierte Antwort
Bruno Luong
am 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)
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Linear Algebra finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!