PeriodicOrbitFromGuess:

Path: Orbit/LowEnergyManeuver

% Find a second perpendicular crossing of the x-axis 
 Find the crossing from an initial guess that begins with the first.  The
 initial guess should end on the x-axis at tF, and should be close to a half
 periodic orbit.

 This requires the Optimization Toolbox.
--------------------------------------------------------------------------
   Form:
   [tF, y0] = PeriodicOrbitFromGuess(y,t0,tF,mu)
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   y              (6,1)    current state vector [r;v]
   t0              (1)     initial time
   tF              (1)     initial estimate of final time
   mu              (1)     CRTBP mass ratio

   -------
   Outputs
   -------
   yF             (6,1) 	State at the intersection with the x-axis
   tF              (1)     Time at the intersection with the x-axis
   stm            (6,6)    State transistion matrix
  
--------------------------------------------------------------------------

Children:

Orbit: LowEnergyManeuver/CheckForOptimizationToolbox
Orbit: ThreeBody/PropagateCRTBP
Orbit: ThreeBody/RHSCRTBP

Back to the Orbit Module page