How to retrive an eigenvector connected to its eigenvalue
I am still using MC v.11.x.
From a matrix I needed to extract the eigenvalues and eigenvectors, and re-order them (starting from the eigenvalues) in a decreasing manner. Accordingly I needed to change column order to the eigenvectors, so they correspond to the new order of the eigenvalues. I used the function eigenvec(M,z) for this. Yet without success.
The Figure I hope explains the problem, in its essence (there is no re-ordering here). It shows that the connected eigenvector to its eigenvalue (captured with "eigenvec" function), is not the same of the one that appears in the function "eigenvecs(M)".
I understand (or to say better, I realized, see the Figure) that the same eigenvalue may have multiple eigenvectors. But now:
1. How can I extract the same eigenvector that appers in the "eigenvecs" function, by recalling its own eigenvalue?
2. And more in general, is there a way to see the multiplicity of eigenvectors connected to a given eigenvalue?
Thanks.

