svd - Maple Help

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.5398415865736560.,9.810538090978000001.659319850260820003.29629655349925×10−16,−0.294648032580691−0.483670604727494−0.824163383692134−0.9325052238828140.3340150938250570.137360563948689−0.208845742900333−0.8090096805475060.549442255794756

(3)

See Also

LinearAlgebra[SingularValues]

MTM[eig]

MTM[jordan]

MTM[poly]