Sort Eigenvectors & Eigenvalues
Sin licencia
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
Citar como
Calvin Price (2026). Sort Eigenvectors & Eigenvalues (https://la.mathworks.com/matlabcentral/fileexchange/18904-sort-eigenvectors-eigenvalues), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- MATLAB > Mathematics > Linear Algebra >
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
| Versión | Publicado | Notas de la versión | |
|---|---|---|---|
| 1.0.0.0 |
