Vector Norm VI
- 已更新2025-07-30
- 閱讀時間為 2 分鐘
Computes the norm of Input Vector. Wire data to the Input Vector input to determine the polymorphic instance to use or manually select the instance.
Note You can use the Matrix Norm VI to calculate the matrix norm.

This VI calculates norm using the following equations.
| 1-norm | ||X|| = |x0| + |x1| + … + |xn – 1| |
| 2-norm | ||X|| = √(|x0|² + |x1|² + … + |xn – 1|²) |
| Inf-norm | ||X|| = maxi(|xi|) |
| –Inf-norm | ||X|| = mini(|xi|) |
| User Defined | ||X|| = ||x0|y + |x1|y + … + |xn – 1|y|1/y |
where X is Input Vector, y is user defined norm, and ||X|| is norm.