I want to use the "princomp" function of Matlab but this function gives the eigenvalues in a sorted array. This way I can't find out which column corresponds to which eigenvalue.
For Matlab,
m = [1,2,3;4,5,6;7,8,9];
[pc,score,latent] = princomp(m);
is the same as:
m = [2,1,3;5,4,6;8,7,9];
[pc,score,latent] = princomp(m);