cv.eigen - MATLAB File Help |
Calculates eigenvalues and eigenvectors of a symmetric matrix
evals = cv.eigen(src)
[evals, evects, b] = cv.eigen(src)
src' == src
).src
;
the eigenvalues are stored in the descending order.src
; the eigenvectors are stored as subsequent matrix rows, in
the same order as the corresponding evals
.The function cv.eigen calculates just eigenvalues, or eigenvalues and
eigenvectors of the symmetric matrix src
:
src * evects(i,:)' = evals(i) * evects(i,:)'
Note: Use cv.eigenNonSymmetric for calculation of real eigenvalues and eigenvectors of non-symmetric matrix.