specific order of eigenvalues

4 次查看(过去 30 天)
rene
rene 2015-3-5
评论: Torsten 2015-3-10
Hello,
I have the following problem:
I calculated the eigenvalues of an (nxn)-Matrix with [V,D] = eig(A,'vector') and got physical correct results. But I have problem with the order of the eigenvalues. The Matrix elements are calculated via
<\psi_i|\hat{A}|\psi_j>
and the order of the Eigenvalue vector has to fit to the order of the eigenvector |\psi> For example: I got Eigenvalues of D = [-2,-1,-1,0,0,1,1,2,] but need to get something like that D = [-1,0,1,...] Is it possible to keep the order condition or to gain it from somewhere? Maybe by another another possibility than eig() or eigs()?
Kind regards and thanks for your help,
rene
  2 个评论
rene
rene 2015-3-9
Hm, is there no solution or is the kind of ask not clear enough? I can give more details - just ask what you need to know to help...
Regards René
Torsten
Torsten 2015-3-10
You should test whether some friend of yours can understand your question if he/she does not know about your problem.
E.g. what is \psi_i|\hat{A}|\psi_j ?
What has D = [-2,-1,-1,0,0,1,1,2,] to do with D = [-1,0,1,...] ?
Best wishes
Torsten.

请先登录,再进行评论。

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by