angle edit page

calculates the rotational angle between rotations q1 and q2

Syntax

omega = angle(q)
omega = angle(q1,q2)

Input

q1, q2 quaternion

Output

omega double