How can put eigenvalues in ascending order?
Show older comments
Hi,
I am using something like [V,D] = eig(S) and I would like the eigenvalues in ascending order in the diagonal. V, D and S are 2x2 matrices.
Thanks.
Answers (1)
Categories
Find more on Eigenvalues & Eigenvectors in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!