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://kr.mathworks.com/matlabcentral/fileexchange/18904-sort-eigenvectors-eigenvalues), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2007a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Linear Algebra에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0