Eigenvalues & Eigenvectors calculation problem

1 次查看(过去 30 天)
Dear all,
I am looking for a way to force Matlab NOT arrange eigenvalues in a descending order.
Let me describe in more detail: I have a parametric matrix. it means its components changes from one step to another step. Therefore in every step there are different eigenvalues and eigenvectors.
But for me it is important to track/monitor for example what will happen to the first eigenvalue and its corresponding eigenvector from first matrix to second matrix and so on
I tried [D,V]=eig(A) and [V,D]=schur(A), but unfortunately in both cases the eigenvalues will be ordered!!
Any idea is appreciated.
Thanks.

采纳的回答

John D'Errico
John D'Errico 2011-3-9
Why do you think that just if the eigenvalues were not "sorted" that they would be in the order you prefer? This is a common problem, but the answer lies not in eig, but in what is done with the result of eig.
The solution lies in my eigenshuffle code, which sequences the eigenvalues (and vectors) into a consistent parametric order.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Linear Algebra 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by