angle2dcm
Convert rotation angles to direction cosine matrix
Syntax
Description
calculates the direction cosine matrixdcm
= angle2dcm(rotationAng1
,rotationAng2
,rotationAng3
)dcm
given three sets of rotation angles,rotationAng1
,rotationAng2
, androtationAng3
, specifying yaw, pitch, and roll. The rotation used in this function is a passive transformation between two coordinate systems.
calculates the direction cosine matrix given the rotation sequence,dcm
= angle2dcm(___,rotationSequence
)rotationSequence
.