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
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');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');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')
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 ©2024 Quanser Inc. This page was generated 2024-10-17. Submit feedback to Quanser about this page.
Link to this page.