unitvector | R Documentation |
Compute the unit vectors for for a matrix of non-normalised vectors
unitvector(x)
x |
m-element vector or n-by-m matrix |
Returns a data type identical to x
, but with normalised vectors. Zero-vectors are returned for vectors of length zero.
Danail Obreschkow
vectornorm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.