Rotation Angles to Direction Cosine Matrix
R2026bConvert rotation angles to direction cosine matrix
Libraries:
Aerospace Blockset /
Utilities /
Axes Transformations
Description
The Rotation Angles to Direction Cosine Matrix block
determines the direction cosine matrix (DCM) from a given set of rotation angles, R1,
R2, and R3. For example, the default rotation angle order ZYX
represents a sequence where R1 is z-axis rotation (yaw), R2 is
y-axis rotation (pitch), and R3 is x-axis
rotation (roll). Use the Rotation Order parameter to change the
sequence. The rotation angles represent a series of right-hand intrinsic passive
transformation from frame A to frame B. The resulting direction cosine matrix represents
a right-hand rotation from frame A to frame B.
Ports
Input
Output
Parameters
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"aerolibtransform2/Rotation Angles to Direction Cosine Matrix"
Example: add_block("aerolibtransform2/Rotation Angles to Direction Cosine Matrix","myModel/myBlock",MakeNameUnique="on")
Extended Capabilities
Version History
Introduced in R2007b
