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!