niceEuler edit page

orientation to euler angle

Description

calculates the Euler angle for a rotation q

Syntax

[alpha,beta,gamma] = niceEuler(ori) -
[phi1,Phi,phi2] = niceEuler(ori,'Bunge') -
euler = Euler(ori,'Bunge') -

Input

ori orientation

Output

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

Options

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

See also

quaternion.Rodrigues