How do i find eigen vector corresponding to imaginery eigen value
조회 수: 33 (최근 30일)
이전 댓글 표시
[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
채택된 답변
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)
V = V(:,hasComplexPart)
Please refer the below documentation for 'imag' function: https://www.mathworks.com/help/symbolic/sym.imag.html
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!