Quaternion Norm

Calculate norm of quaternion

Library

Utilities/Math Operations

Description

The Quaternion Norm block calculates the norm for a given quaternion.

The quaternion has the form of

q=q0+iq1+jq2+kq3.

The quaternion norm has the form of

norm(q)=q02+q12+q22+q32

Dialog Box

Inputs and Outputs

InputDimension TypeDescription

First

Quaternion or vectorContains quaternions in the form of [q0, r0, ..., q1, r1, ... , q2, r2, ... , q3, r3, ...].

OutputDimension TypeDescription

First

Quaternion norm or vectorContains quaternion norm or vector of quaternion norms in the form of [norm(q), norm(r), ...].

References

Stevens, Brian L., Frank L. Lewis, Aircraft Control and Simulation, Wiley–Interscience, 2nd Edition.

Was this topic helpful?