Main Content
quatmod
Calculate modulus of quaternion
Syntax
Description
calculates
the modulus n
= quatmod(q
)n
for a given quaternion, q
. For more
information on the quaternion and quaternion modulus forms, see Algorithms.
Aerospace Toolbox uses quaternions that are defined using the scalar-first convention.
Examples
Input Arguments
Output Arguments
Algorithms
The quaternion has the form of
The quaternion modulus has the form of
References
[1] Stevens, Brian L. and Frank L. Lewis. Aircraft Control and Simulation. 2nd ed. Wiley–Interscience, 2003.
Extended Capabilities
Version History
Introduced in R2006b
See Also
quatconj
| quatdivide
| quatinv
| quatmultiply
| quatnorm
| quatnormalize
| quatrotate