<< CL_rot_eul2quat DEPRECATED

CelestLab >> DEPRECATED > CL_rot_quat2eul

CL_rot_quat2eul

Quaternion to Euler '123' angles - DEPRECATED

Calling Sequence

[phi,theta,psi] = CL_rot_quat2eul(q)

Description

Parameters

q :

Quaternion (dim N)

phi :

Rotation angle around X axis [rad] (1xN)

theta :

Rotation angle around Y axis [rad] (1xN)

psi :

Rotation angle around Z axis [rad] (1xN)

Authors

Bibliography

See also

Examples

M = CL_rot_angles2matrix([1,2,3], [0.5; 1.1; 2.3]);
q = CL_rot_matrix2quat(M); // quaternion of this rotation
[phi,theta,psi] = CL_rot_quat2eul(q)

Report an issue
<< CL_rot_eul2quat DEPRECATED