Previous Up Next

14.1.2  Normalizing a vector

The normalize or unitV command finds the unit vector in the direction of a given vector.

Example

normalize([3,4,5])
     





3
2
,
4
2
,
5
2





          

Previous Up Next