MTM
svd
compute the singular values of a matrix
Calling Sequence
Parameters
Description
Examples
S = svd(A)
[U,S,V] = svd(A)
A
-
matrix, vector, array, or scalar
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.
with⁡MTM:
A≔Matrix⁡1,2,1,2,4,2,2,8,1
A≔121242281
svd⁡A
0198+2⁢87412198−2⁢87412
U,S,V≔svd⁡A
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
See Also
LinearAlgebra[SingularValues]
MTM[eig]
MTM[jordan]
MTM[poly]
Download Help Document