Quaternion Multiplication
R2026bCalculate product of two quaternions
Libraries:
Aerospace Blockset /
Utilities /
Math Operations
Description
The Quaternion Multiplication block calculates the product for two given quaternions. Aerospace Blockset™ uses quaternions that are defined using the scalar-first convention. For more information on the quaternion forms, see Algorithms.
Examples
Ports
Input
Output
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"aerolibutil/Quaternion Multiplication"
Example: add_block("aerolibutil/Quaternion Multiplication","myModel/myBlock",MakeNameUnique="on")
Algorithms
This block uses quaternions of the form of
and
The quaternion product has the form of
where
References
[1] Stevens, Brian L., Frank L. Lewis. Aircraft Control and Simulation, Second Edition. Hoboken, NJ: Wiley–Interscience.
Extended Capabilities
Version History
Introduced before R2006a

