Function returns the unit vector of a given vector or point in carthesian coordinates.
E = unitVec(vector) E = unitVec(listofvectors)
coordinates of a point or vector (row vector or matrix of row vectors).
list of vectors (column vectors) more than one!.
unit vector (as row vector or matrix of row vectors)
This function calculates the unit vector to a point of a given vector or point in carthesian coordinates.
(matrix aware)
No warranty, there are no inputchecks.