How do i find eigen vector corresponding to imaginery eigen value
1 回表示 (過去 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 日
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!