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.

 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:

Orbit: LowEnergyManeuver/CheckForOptimizationToolbox
Orbit: LowEnergyManeuver/PropagateCRTBP
Orbit: LowEnergyManeuver/RHSCRTBP
Orbit: LowEnergyManeuverData/f16pRef
Common: CommonData/SwooshWatermark
Common: General/CellToMat
Common: General/MatToCell
Common: General/Watermark
Common: Graphics/NewFig
Common: Graphics/Plot2D
Common: Graphics/PltStyle

Back to the Orbit Module page