dcm2rod
Convert direction cosine matrix to Euler-Rodrigues vector
Description
function calculates the Euler-Rodrigues vector (R
= dcm2rod(dcm
)R
) from the
direction cosine matrix. This function applies only to direction cosine matrices
that are orthogonal with determinant +1. The direction cosine matrix input and
resulting Euler-Rodrigues vector represent a right-hand passive transformation from
frame A to frame B.
performs R
= dcm2rod(dcm
,action
)action
if the direction cosine matrix is invalid (not
orthogonal).
uses a R
= dcm2rod(dcm
,action
,tolerance
)tolerance
level to evaluate if the direction cosine
matrix, n
, is valid (orthogonal).
Examples
Input Arguments
Output Arguments
Algorithms
An Euler-Rodrigues vector represents a rotation by integrating a direction cosine of a rotation axis with the tangent of half the rotation angle as follows:
where:
are the Rodrigues parameters. Vector represents a unit vector around which the rotation is performed. Due to the tangent, the rotation vector is indeterminate when the rotation angle equals ±pi radians or ±180 deg. Values can be negative or positive.
References
[1] Dai, J.S. "Euler-Rodrigues formula variations, quaternion conjugation and intrinsic connections." Mechanism and Machine Theory, 92, 144-152. Elsevier, 2015.
Version History
Introduced in R2017a