Learn R Programming

PEIP (version 1.2)

USV: Singular Value Decomposition

Description

Singular Value Decomposition

Usage

USV(G)

Arguments

G
Matrix

Value

  • Side effects

Details

returns matrices U, S, V according to matlab convention.

See Also

svd

Examples

Run this code
hilbert <- function(n) { i <- 1:n; 1 / outer(i - 1, i, "+") }
     X <- hilbert(9)[,1:6]
     
USV(X)

print(U)

Run the code above in your browser using DataLab