Unit Vector (Not in Base Package)

Finds the norm of the Input Vector and obtains its corresponding Unit Vector by normalizing the original Input Vector with its norm. Details

If Input Vector is an empty array, Unit Vector is also an empty array, and norm is NaN.
Unit Vector is the output, normalized vector.
norm is the norm of Input Vector.
error returns any error or warning condition from the VI.

Unit Vector Details

Let X represent the input Input Vector, norm is given by

where is norm, and the VI calculates Unit Vector, U, using