<< CL_rot_quat2angles Coordinates and frames CL_rot_quat2matrix >>

CelestLab >> Coordinates and frames > CL_rot_quat2axAng

CL_rot_quat2axAng

Quaternion to rotation axis and angle

Calling Sequence

[u,alpha] = CL_rot_quat2axAng(q)

Description

Parameters

q :

Quaternion (dim N)

u :

Rotation axis [ux; uy; uz] (3xN)

alpha :

Rotation angle [rad] (1xN)

Authors

See also

Examples

q = CL_rot_angles2quat([3], %pi/2);
[u, alpha] = CL_rot_quat2axAng(q)

Report an issue
<< CL_rot_quat2angles Coordinates and frames CL_rot_quat2matrix >>