diagonalizing a matrix and putting eigenvectors in orde

I want to diagonal a matrix and ask MATLAB to put the smallest eigenvalue first and the corresponding eigenvector in first column of Unitary matrix. If I use eig the MATLAB does it automatically but if I use sym of my matrix and then diagonalizing the matrix, MATLAB puts the biggest one ( not the smallest eigenvalue and eigenvector), how can I do that? thanks

1 件のコメント

Matt J
Matt J 2012 年 10 月 11 日
Note: eig does not guarantee sorted eigenvalues.

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeLinear Algebra についてさらに検索

質問済み:

mim
2012 年 10 月 11 日

Community Treasure Hunt

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

Start Hunting!

Translated by