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 MATLAB Command Line Click to copy the following command line to the clipboard. Then paste it in the MATLAB Command Window: qc_open_matlab_help('sum'); block), and scaling is the element-wise product of two vectors (using the Product MATLAB Command Line Click to copy the following command line to the clipboard. Then paste it in the MATLAB Command Window: qc_open_matlab_help('product'); block) so no additional blocks are provided for translation and scaling.
|
This block converts a rotation matrix to the equivalent rotation angle about a fixed axis. |
|
|
This block converts a rotation by an angle about an arbitrary axis into a rotation matrix. |
|
|
This block converts a rotation matrix to a basis of three unit vectors. |
|
|
This block converts a basis of three unit vectors to a rotation matrix. |
|
|
Converts a rotation matrix to an Euler angle representation. |
|
|
Creates a rotation matrix from an Euler angle representation. |
|
|
Computes the trace of a square matrix. |
Copyright ©2025 Quanser Inc. This page was generated 2025-11-01. Submit feedback to Quanser about this page.
Link to this page.