dcm2quat
Convert direction cosine matrix to quaternion
Description
calculates the quaternionq
= 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.
uses a tolerance level,q
= dcm2quat(dcm
,action
,tolerance
)tolerance
, to evaluate if the direction cosine matrixdcm
is within tolerance.