powered by
Singular Value Decomposition
USV(G)
Matrix
list:
Matrix, singular values
returns matrices U, S, V according to matlab convention.
svd
# NOT RUN { 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