EulDot2Rates:
--------------------------------------------------------------------------
Converts 3-2-1 Euler angle rates into angular velocity. If only one
input is given, the output is the transformation matrix.
--------------------------------------------------------------------------
Form:
w = EulDot2Rates( e, wEul, n )
--------------------------------------------------------------------------
------
Inputs
------
e (3) Euler angles
wEul (3) Angular rates
n (1) Orbit rate (for rotating frames only, optional)
-------
Outputs
-------
w (3) Euler angle rates
--------------------------------------------------------------------------
Reference: Hughes, Spacecraft Attitude Dynamics (1986), Eq. 25 p. 27
--------------------------------------------------------------------------