svd - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


MTM

  

svd

  

compute the singular values of a matrix

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

S = svd(A)

[U,S,V] = svd(A)

Parameters

A

-

matrix, vector, array, or scalar

Description

• 

The function svd(A) computes the singular values and left and right singular vectors of matrix A.

• 

When the function is called using the form S = svd(A), the returned value of S is a column vector containing the singular values of A.

• 

When the function is called using the form U,S,V := svd(A), the returned value of U is a matrix whose columns are the left singular vectors of A. The returned value of S is a column vector containing the singular values of A.  The returned value of V is a matrix whose columns are the right singular vectors of A.

Examples

withMTM:

AMatrix1,2,1,2,4,2,2,8,1

A121242281

(1)

svdA

0198+287412198287412

(2)

U,S,VsvdA

U,S,V−0.241424496932006−0.376449481711859−0.894427190999916−0.482848993864012−0.7528989634237190.447213595499958−0.8417666312022820.539841586573655−5.55111512312578×10−17,9.810538090978000001.659319850260820003.51436431749812×10−16,−0.294648032580691−0.483670604727495−0.824163383692134−0.9325052238828140.3340150938250570.137360563948689−0.208845742900333−0.8090096805475060.549442255794756

(3)

See Also

LinearAlgebra[SingularValues]

MTM[eig]

MTM[jordan]

MTM[poly]