Scilab 6.0.1

Please note that the recommended version of Scilab is 6.1.1. This page might be outdated.

However, this page did not exist in the previous stable version.

# sva

singular value approximation

### Syntax

[U,s,V]=sva(A,k) [U,s,V]=sva(A,tol)

### Arguments

- A
real or complex matrix

- k
integer

- tol
nonnegative real number

### Description

Singular value approximation.

`[U,S,V]=sva(A,k)`

with `k`

an integer
>=1, returns `U,S`

and `V`

such that
`B=U*S*V'`

is the best L2 approximation of
`A`

with rank(`B`

)=`k`

.

`[U,S,V]=sva(A,tol)`

with `tol`

a real
number, returns `U,S`

and `V`

such that
`B=U*S*V'`

such that L2-norm of `A-B`

is at most `tol`

.

### See also

- svd — singular value decomposition

## Comments

Add a comment:Please login to comment this page.