Borrar filtros
Borrar filtros

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

2 visualizaciones (últimos 30 días)
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.

Respuesta aceptada

Bruno Luong
Bruno Luong el 19 de Sept. de 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

Más respuestas (0)

Categorías

Más información sobre Linear Algebra en Help Center y File Exchange.

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by