Main Content
angle2quat
Convert rotation angles to quaternion
Syntax
Description
calculates the quaternion for three rotation angles. Aerospace Toolbox uses quaternions that are defined using the scalar-first convention. The
rotation angles represent a series of right-hand intrinsic passive rotations from frame A to
frame B. The resulting quaternion represents a right-hand passive rotation from frame A to
frame B.quaternion
= angle2quat(rotationAng1
,rotationAng2
,rotationAng3
)
calculates the quaternion using a rotation sequence. quaternion
= angle2quat(rotationAng1
,rotationAng2
,rotationAng3
,rotationSequence
)
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2007b
See Also
angle2dcm
| dcm2angle
| dcm2quat
| quat2angle
| quat2dcm