| Contents | Index |
Utilities/Math Operations

The Quaternion Modulus block calculates the magnitude for a given quaternion.
The quaternion has the form of
![]()
The quaternion modulus has the form of
![]()

| Input | Dimension Type | Description |
|---|---|---|
First | Quaternion or vector | Contains quaternions in the form of [q0, r0, ..., q1, r1, ... , q2, r2, ... , q3, r3, ...]. |
| Output | Dimension Type | Description |
|---|---|---|
First | Quaternion modulus or vector | Contains quaternion modulus or vector of quaternion modulus in the form of [|q|, |r|, ...]. |

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |