| Contents | Index |
Utilities/Math Operations

The Quaternion Rotation block rotates a vector by a quaternion.
The quaternion has the form of
![]()
The vector has the form of
![]()
The rotated vector 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, ...]. |
Second | Vector | Contains vector or vector of vectors in the form of [v1, u1, ... , v2, u2, ... , v3, u3, ...]. |
| Output | Dimension Type | Description |
|---|---|---|
First | Rotated quaternion or vector | Contains rotated vector or vector of rotated vectors. |

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 |