Homogeneous Transformations Blocks Quaternion Blocks navigation bar

Table of Contents > QUARC > Blocks > Blocks - By Category > Block Categories > Math Operations

Matrix Blocks

The vector blocks include standard operations on vectors, such as the cross product and norm, as well as a rotation transformation for vectors. Translation is simply the sum of two vectors (using the Sum block), and scaling is the element-wise product of two vectors (using the Product block) so no additional blocks are provided for translation and scaling.

Angle and Axis from Rotation Matrix

This block converts a rotation matrix to the equivalent rotation angle about a fixed axis.

Angle and Axis to Rotation Matrix

This block converts a rotation by an angle about an arbitrary axis into a rotation matrix.

Basis from Rotation Matrix

This block converts a rotation matrix to a basis of three unit vectors.

Basis to Rotation Matrix

This block converts a basis of three unit vectors to a rotation matrix.

Euler Angles from Rotation Matrix

Converts a rotation matrix to an Euler angle representation.

Euler Angles to Rotation Matrix

Creates a rotation matrix from an Euler angle representation.

Trace

Computes the trace of a square matrix.

 

navigation bar