svdgetS(a)

Returns matrix S after performing a Singular Value Decomposition on matrix a.


See also svdgetU svdgetV qrgetQ qrgetR 


Example


a = randommatrix( 3, 3, 5 )

4  2  0

0  2  0

5  2  3

svdgetS( a )

7.4322  0.0     0.0

0.0     2.0941  0.0

0.0     0.0     1.5421