Quaternion Blocks End of trail navigation bar

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

Vector 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. Simulink already provides a Dot Product block as well.

Cross Product

Computes the cross product of two 3-vectors.

Norm

Computes the 2-norm of an arbitrary length vector or quaternion.

Normalize

Scales an arbitrary length vector or quaternion to a unit vector or unit quaternion, according to the 2-norm.

Norm Squared

Computes the square of the 2-norm of an arbitrary length vector or quaternion.

Vector from Skew Symmetric Matrix

Extracts a 3-vector from a skew-symmetric matrix.

Vector Rotation

Applies a fixed or variable rotation to a 3-element vector.

Vector to Skew Symmetric Matrix

Converts a 3-vector to a skew-symmetric matrix.

 

navigation bar