Contents Previous Next Subchapters

Computing The Eigenvectors Of A Symmetric Matrix
Syntax symeig(z)
See Also eigsym , svd , qred , cholesky

Computes the eigenvectors of z, where z is a conjugate symmetric matrix . The return value is a unitary matrix and each of its columns is an eigenvector of z

This routine uses an SVD factorization to compute the eigenvectors. The routine eigsym computes the eigenvectors directly.

     z = {[1, 1 + 1i0], [1 - 1i0, 1]}
     e = symeig(z)
     (z * e.col(1)) / e.col(1)
Note that this demonstrates that z times the first column of e is a scalar multiple of the first column of e.