Does Matlab eig always returns sorted values?
I use a function at Matlab: [V,D] = eig(C); I see that V and D are always sorted ascending order. Does it always like that or should I sort them after I get V and D values? V is NOT sorted in any order, except to correspond to the order of the associated eigenvalues. But perhaps you did not mean that. The eigenvalues TEND to be in descending order, but this is not assured at all. They tend to be in order because the largest tend to trickle out of the algorithm on top. Eig has no sort at the end to ensure that fact. I might point out the eigenshuffle tool, designed to take a sequence of