How do i find eigen vector corresponding to imaginery eigen value

조회 수: 33 (최근 30일)
Lokesh
Lokesh 2024년 11월 5일 4:32
편집: Walter Roberson 2024년 11월 5일 5:07
[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

채택된 답변

Gayatri
Gayatri 2024년 11월 5일 4:41
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)
D =
-0.3124 + 0.2799i -0.3124 - 0.2799i
V = V(:,hasComplexPart)
V =
-0.0928 + 0.4772i -0.0928 - 0.4772i -0.3821 - 0.1667i -0.3821 + 0.1667i 0.2583 + 0.0526i 0.2583 - 0.0526i 0.6583 + 0.0000i 0.6583 + 0.0000i -0.2326 - 0.1813i -0.2326 + 0.1813i
Please refer the below documentation for 'imag' function: https://www.mathworks.com/help/symbolic/sym.imag.html

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Linear Algebra에 대해 자세히 알아보기

제품


릴리스

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by