Documentation Center

  • Trials
  • Product Updates

Quaternion Modulus

Calculate modulus of quaternion

Library

Utilities/Math Operations

Description

The Quaternion Modulus block calculates the magnitude for a given quaternion.

The quaternion has the form of

The quaternion modulus has the form of

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 modulus or vectorContains quaternion modulus or vector of quaternion modulus in the form of [|q|, |r|, ...].

Was this topic helpful?