Svd Function

Singular value decomposition of a matrix


Description

The Function \(Svd\) calculates a singular value decomposition of the symbolic matrix M.

\(Svd\) is implemented as a RedCrab class. The result is an object of class \(Svd \).


Syntax

Svd (Matrix)

Svd (Format, Matrix)

Elements of class Svd

M

\(m * n\) Matrix whose entries are real numbers

S

Returns the singular values of the matrix in ascending order

U

Returns the left singular vectors (\(U, m * m \) unitary matrix)

VT

Returns the transported right singular vectors (transposed V, \(n * n \) unitary matrix)

W

Returns the singular values as a diagonal matrix

Example

Alternative syntax for calculating \(VT\)