8 lines
171 B
Text
8 lines
171 B
Text
matrix a = 2,9,4\7,5,3\6,1,8
|
|
display det(a)
|
|
matrix svd u d v = a
|
|
matrix b = u*diag(d)*v'
|
|
matrix list b
|
|
* store the u and v matrices in the current dataset
|
|
svmat u
|
|
svmat v
|