Calculate norm of quaternion
Aerospace Blockset / Utilities / Math Operations
The Quaternion Norm block calculates the norm for a given quaternion. For the equations used for the quaternion and quaternion norm, see Algorithms.
q— Quaternion norm
Quaternions in the form of [ q 0 , r 0 , ..., q 1 , r 1 , ... , q 2 , r 2 , ... , q 3 , r 3 , ...], specified as a quaternion norm or vector of quaternion norms.
norm(q)— Quaternion norm
Quaternion norm or vector of quaternion norms in the form of [ norm (q), norm (r), ...].
The quaternion has the form of
The quaternion norm has the form of
 Stevens, Brian L., Frank L. Lewis. Aircraft Control and Simulation, Second Edition. Hoboken, NJ: Wiley–Interscience.