Previous Up Next

5.49.8 Singular value decomposition: svd

The singular value decomposition of a matrix A is a factorization A=USQT, where U and Q are orthogonal and S is a diagonal matrix. The svd command finds the singular value decomposition of a matrix.

You can get the diagonal matrix S from s with S=diag(s) (see Section 5.44.2).

Examples


Previous Up Next