AnglesRotToU:
% Angles and a reference frame to unit vector.
The cone and clock angles define the vector from the reference axes such that
n = cos(cone)*x + sin(cone)*cos(clock)*y + sin(cone)*sin(clock)*z
so that clock is defined from the reference y axis. The quaternion defines
the rotation from the basis (inertial) frame to the clock reference frame.
--------------------------------------------------------------------------
Form:
u = AnglesRotToU( cone, clock, q )
--------------------------------------------------------------------------
------
Inputs
------
cone (1,:) Cone angle (rad)
clock (1,:) Clock angle (rad)
q (1,:) Rotation from inertial to clock reference frame
-------
Outputs
-------
u
--------------------------------------------------------------------------
Children:
Common: Quaternion/QTForm