powered by
Singular Value Decomposition
USV(G)
list:
Matrix
Matrix, singular values
Jonathan M. Lees<jonathan.lees@unc.edu>
returns matrices U, S, V according to matlab convention.
svd
hilbert <- function(n) { i <- 1:n; 1 / outer(i - 1, i, "+") } X <- hilbert(9)[,1:6] h = USV(X) print( h$U )
Run the code above in your browser using DataLab