PeriodicOrbitFromGuess:

Path: Interplanetary/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.

 Type PeriodicOrbitFromGuess for a demo.

--------------------------------------------------------------------------
   Form:
   [tFNew, yNew, stm] = PeriodicOrbitFromGuess(yRef,t0,tFRef,mu)
--------------------------------------------------------------------------

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

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

Children:

Interplanetary: LowEnergyManeuver/CheckForOptimizationToolbox
Interplanetary: LowEnergyManeuver/PropagateCRTBP
Interplanetary: LowEnergyManeuver/RHSCRTBP
Interplanetary: LowEnergyManeuverData/f16pRef
Common: Graphics/Plot2D

Back to the Interplanetary Module page