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 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. Simulink already provides a Dot Product MATLAB Command Line Click to copy the following command line to the clipboard. Then paste it in the MATLAB Command Window: doc('simulink/dot product') block as well.
|
Computes the cross product of two 3-vectors. |
|
|
Computes the 2-norm of an arbitrary length vector or quaternion. |
|
|
Scales an arbitrary length vector or quaternion to a unit vector or unit quaternion, according to the 2-norm. |
|
|
Computes the square of the 2-norm of an arbitrary length vector or quaternion. |
|
|
Extracts a 3-vector from a skew-symmetric matrix. |
|
|
Applies a fixed or variable rotation to a 3-element vector. |
|
|
Converts a 3-vector to a skew-symmetric matrix. |
Copyright ©2025 Quanser Inc. This page was generated 2025-11-01. Submit feedback to Quanser about this page.
Link to this page.