Filter löschen
Filter löschen

I want to find the eigenvectors of a matrix corresponding to imaginary eigenvalues.

2 Ansichten (letzte 30 Tage)
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.

Akzeptierte Antwort

Bruno Luong
Bruno Luong am 19 Sep. 2023
Use imag function
A=rand(5);
[V,d]=eig(A,'vector');
iscmplx=imag(d)~=0
iscmplx = 5×1 logical array
0 0 1 1 0
d=d(iscmplx)
d =
0.0216 + 0.2183i 0.0216 - 0.2183i
V=V(:,iscmplx) % corresponding eigen vectors (in each column)
V =
0.2708 - 0.4562i 0.2708 + 0.4562i -0.5843 + 0.0000i -0.5843 + 0.0000i 0.0655 - 0.1415i 0.0655 + 0.1415i 0.3705 - 0.0515i 0.3705 + 0.0515i -0.0052 + 0.4614i -0.0052 - 0.4614i

Weitere Antworten (0)

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!

Translated by