Euler edit page

quaternion to euler angle

Description

calculates the Euler angle for a rotation q

Syntax

[alpha,beta,gamma] = Euler(quat,'ABG') -
[phi1,Phi,phi2] = Euler(quat) -
euler = Euler(quat) -

Input

quat quaternion

Output

alpha, beta, gamma Matthies
phi1, Phi, phi2 BUNGE

Options

ABG, ZYZ Matthies (alpha,beta,gamma) convention
BUNGE, ZXZ Bunge (phi, Phi, phi2) convention (default)

See also

quaternion.Rodrigues