Aerospace Blockset / Utilities / Math Operations
The Quaternion Normalize block calculates a normalized quaternion for a given quaternion. For the equations used for the quaternion and normalized quaternion, see Algorithms.
Input 1— Quaternion
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 or vector of quaternions.
Output 1— Normalized quaternion
Normalized quaternion or vector of normalized quaternions.
The quaternion has the form of
The normalized quaternion has the form of
 Stevens, Brian L., Frank L. Lewis. Aircraft Control and Simulation, Second Edition. Hoboken, NJ: Wiley–Interscience.