powered by
Norm returns the euclidian norm of a vector, Normalize returns a vector with unit norm.
Normalize(x)Norm(x)
Norm(x)
Normalized vector or inpout vector norm.
Numeric vector
Diogo Melo, Guilherme Garcia
x <- rnorm(10) n.x <- Normalize(x) Norm(x) Norm(n.x)
Run the code above in your browser using DataLab