MATLAB: How to store eigen vectors of a matrix of huge dimension

i need help

hi friends cheers!!!! I am doing a project on face recognition.please solve my problem. I have a matrix of huge dimension say 500 X 500.So it gives maximum 500 eigen vectors(if all eigen values are non zero). Now the problem is how to store these eigen vectors. I have to use them one by one further.Is it possible to store them in an array?
Thanks in advance…

Best Answer

If X is your 500-by-500 array, then using:
[V,D] = eig(X)
will store the eigenvalues in array V.