powered by
Make input vector unit length, i.e. norm == 1
unit(vector)
a unit length vector
a vector
Other helpers: deg(), rad()
deg()
rad()
unit(c(1,2,3))
Run the code above in your browser using DataLab