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

![]() |
Input Vector is the input vector. 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 from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster. |
The VI calculates norm using the following equation.

where X is Input Vector and ||X|| is norm
The VI calculates Unit Vector using the following equation.

where U is Unit Vector.