MTM[svd] - compute the singular values of a matrix
|
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
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
|
|
Download Help Document
Was this information helpful?