The singular values of a matrix A are the positive square roots of the eigenvalues of A AT. So, if A is symmetric, the singular values are the absolute values of the eigenvalues of A. The SVL or svl command finds the singular values of a matrix.
SVL([[1,2],[3,4]]) |
|
evalf(sqrt(eigenvals([[1,2],[3,4]]*transpose([[1,2],[3,4]])))) |
|
svl([[1,4],[4,1]]) |
|
abs(eigenvals([[1,4],[4,1]])) |
|