Path: Orbit/OrbitMechanics
% Resolves the transfer angle ambiguity.
   Since version 2.
--------------------------------------------------------------------------
   Form:
   phi = TARes( r0, r, orbitType )
--------------------------------------------------------------------------
   ------
   Inputs
   ------
   r0            (3,1)   Initial position vector
   r             (3,1)   Final position vector
   orbitType     (1,:)   'direct' or 'retrograde'
   -------
   Outputs
   -------
   phi           (1,1)    Transfer angle
--------------------------------------------------------------------------
	References:	Bond, V.R. and Allman, M. C., "Modern Astrodynamics", Princeton
               University Press, 1996, pp. 233-235
--------------------------------------------------------------------------
Math: Linear/Cross Math: Linear/Unit
Back to the Orbit Module page