M-File Help: unit
View code for unit
unit
Unitize a vector
vn
=
unit
(
v
) is a
unit
vector parallel to
v
.
Note
Reports error for the case where norm(V) is zero.
© 1990-2012 Peter Corke.