Sort Eigenvectors & Eigenvalues

バージョン 1.0.0.0 (468 Bytes) 作成者: Calvin Price
Sort a set of eigenvectors and corresponding eigenvalues
ダウンロード: 4.3K
更新 2008/2/25

ライセンスがありません

This function takes in two matrices P and D, presumably the output
from Matlab's eig function, and then sorts the columns of P to
match the sorted columns of D (going from largest to smallest)

EXAMPLE:

D =
-90 0 0
0 -30 0
0 0 -60
P =
1 2 3
1 2 3
1 2 3

[P,D]=sortem(P,D)
P =
2 3 1
2 3 1
2 3 1
D =
-30 0 0
0 -60 0
0 0 -90

引用

Calvin Price (2026). Sort Eigenvectors & Eigenvalues (https://jp.mathworks.com/matlabcentral/fileexchange/18904-sort-eigenvectors-eigenvalues), MATLAB Central File Exchange. 取得日: .

MATLAB リリースの互換性
作成: R2007a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersLinear Algebra についてさらに検索
バージョン 公開済み リリース ノート
1.0.0.0