How do i find eigen vector corresponding to imaginery eigen value
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
[V, D] = eig(A)
The eigenvectors in V correspond to eigenvalues that can be real or complex. However, I am interested in finding the eigenvectors that correspond specifically to purely imaginary eigenvalues. Is there a way to achieve this?T
0 Commenti
Risposta accettata
Gayatri
il 5 Nov 2024
Hi Lokesh,
You can use 'imag' function to find the eigenvectors that correspond specifically to purely imaginary eigenvalues.
A = rand(5);
[V,D] = eig(A,'vector');
hasComplexPart = imag(D)~=0;
D = D(hasComplexPart)
V = V(:,hasComplexPart)
Please refer the below documentation for 'imag' function: https://www.mathworks.com/help/symbolic/sym.imag.html
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Linear Algebra in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!