Mathematica 9 is now available
Student Support Forum
Student Support Forum: 'Sortby the eigenvalues' topicStudent Support Forum > General > Archives > "Sortby the eigenvalues"

Next Comment >Help | Reply To Topic
Author Comment/Response
Feiruo Shen
06/05/13 4:22pm


I have a matrix and want to sort its eigenvalues in a ascending order. Also I want to have the eigenstates corresponding to the eigenvalues at the same time. So I used:


where M is my matrix. However, when I test this code by using


the eigenvalues are not in right order. Can I know why is this and how to fix it?

Moreover, what should I do if I want to sort the eigenvalues in a descending order?

URL: ,

Subject (listing for 'Sortby the eigenvalues')
Author Date Posted
Sortby the eigenvalues Feiruo Shen 06/05/13 4:22pm
Re: Sortby the eigenvalues Bill Simpson 06/07/13 2:26pm
Next Comment >Help | Reply To Topic