Skip to content
Prev 30342 / 398506 Next

Matrix eigenvectors in R and MatLab

Regarding the relationship between eigen and svd:

	  For symmetric matrices, the svd is a solution to the Eigenvalue 
problem.  However, if eigenvectors are not normalized to length 1, then 
the two solutions will not look the same.

	  Another current question asked about the differences in eigenanalysis 
between R and Matlab.  In sum, it appears that R sorts the eigenvalues 
in decreasing order of absolute values while Matlab does not, but Matlab 
normalizes the eigenvectors to length 1 while R does not.

Spencer Graves
David Brahm wrote: