# svd

## Description

`[___] = svd(`

produces an
economy-size decomposition of `A`

,"econ")`A`

. If `A`

is an
*m*-by-*n* matrix, then:

*m*>*n*— Only the first*n*columns of`U`

are computed and`S`

is*n*-by-*n*.*m*=*n*—`svd(A,"econ")`

is equivalent to`svd(A)`

.*m*<*n*— Only the first*m*columns of`V`

are computed, and`S`

is*m*-by-*m*.

`[___] = svd(`

produces a
different economy-size decomposition of `A`

,0)`A`

. If `A`

is an
*m*-by-*n* matrix, then:

*m*>*n*—`svd(A,0)`

is equivalent to`svd(A,"econ")`

.*m*<=*n*—`svd(A,0)`

is equivalent to`svd(A)`

.

Syntax is not recommended. Use the `"econ"`

option instead.

`[___] = svd(___,`

optionally specifies the output format for the singular values. You can use this option with
any of the previous input or output combinations. Specify `sigmaForm`

)`"vector"`

to
return the singular values as a column vector. Specify `"matrix"`

to return
the singular values in a diagonal matrix.

## Examples

## Input Arguments

## Output Arguments

## Tips

To have full control over the fixed-point types, use the `fixed.svd`

function.

## Algorithms

## Extended Capabilities

## Version History

**Introduced in R2022b**