dcm2quat
Convert direction cosine matrix to quaternion
Description
calculates the quaternion q
= dcm2quat(dcm
)q
for a given direction cosine matrix,
dcm
.
performs an action, q
= dcm2quat(dcm
,action
)action
, if the direction cosine matrix is invalid,
that is not orthogonal. The direction cosine matrix input and resulting quaternion represent
a right-hand passive transformation from frame A to frame B.
uses a tolerance level, q
= dcm2quat(dcm
,action
,tolerance
)tolerance
, to evaluate if the direction cosine
matrix dcm
is within tolerance.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2006b
See Also
angle2dcm
| dcm2angle
| angle2quat
| quat2dcm
| quat2angle