Euler

(method of quaternion)

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

param,val Parameters and values that control Euler
Parameter Description
'ABG, ZYZ'

Matthies (alpha,beta,gamma) convention

'BUNGE, ZXZ'

Bunge (phi, Phi, phi2) convention (default)

Output

alpha, beta, gamma

Matthies

phi1, Phi, phi2

BUNGE

See also

quaternion/Rodrigues