OrbitRoundTripTransferTimes:

Path: Interplanetary/Optimization

% Compute transfer start times for a round trip between orbits.

 Type OrbitRoundTripTransferTimes for a demo.
--------------------------------------------------------------------------
   Form:
   [t1,t2,t3,t4] = OrbitRoundTripTransferTimes( pA, pB, dep, ret, N )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   pA    (.)     Planet A data structure
                 .theta0    Phase angle (rad)
                 .n         Orbit rate  (rad/s)
   pB    (.)     Planet B data structure
                 .theta0    Phase angle (rad)
                 .n         Orbit rate  (rad/s)
   dep   (.)     Departure data structure
                 .dT
                 .dTheta
   ret   (.)     Return data structure
                 .dT
                 .dTheta
   N     (1,1)   Number of times to compute

   -------
   Outputs
   -------
   t1    (1,N)   Outbound departure times (sec)
   t2    (1,N)   Outbound arrival times
   t3    (1,N)   Return departure times
   t4    (1,N)   Return arrival times

--------------------------------------------------------------------------
   See also PlanetHelioPhase
--------------------------------------------------------------------------

Children:

Interplanetary: Ephemeris/PlanetHelioPhase
Common: Graphics/NewFig
Common: Time/Date2JD

Back to the Interplanetary Module page