MATLAB: Find max/min eigenvalue of a symmetric matrix

eigenvaluelanczos_algorithmmaximumsymmetric_matrix

I know I can use eig() to find all eigenvalues as well as eigenvectors and then use max/min to find the max/min eigenvalues. However, that method is not efficient given a big matrix.
I heard of Lanczos algorithm that allows to find extreme eigenvalues.
I wonder if there is any function in matlab that can find max/min eigenvalues quickly?
BTW, I consider symmetric positive semi-definite matrices if that makes problem any easier.
Thanks,

Best Answer

please read: doc eigs
Related Question