필터 지우기
필터 지우기

Eigenvalues & Eigenvectors calculation problem

조회 수: 1 (최근 30일)
Victor
Victor 2011년 3월 9일
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