LambertOpt:

Path: Orbit/OrbitControl

% Use Lambert with Nelder-Meade simplex optimization of start and transfer time
   Uses fmins/fminsearch. This routine checks both direct and retrograde orbit 
   types. 
   See also FLambert and LambertTOF.
--------------------------------------------------------------------------
   Form:
   [dV, tOptimal, el, p] = LambertOpt( r1, v1, r2, v2, dT, mu, tol )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   r1            (3,1)   Initial position vector
   v1            (3,1)   Initial velocity
   r2            (3,1)   Target position vector at current time
   v2            (3,1)   Target velocity
   dT            (1,2)   Ideal and maximum time to reach target
   mu            (1,1)   Gravitational parameter
   tol           (1,1)   Tolerance

   -------
   Outputs
   -------
   dV            (3,1)    Delta-V to apply at start time
   tOptimal      (1,2)    Optimal start and transfer time
   el            (1,:)    Elements of the trajectory
   p             (1,1)    The parameter for the orbit

--------------------------------------------------------------------------

Children:

Common: General/IsVersionAfter
Math: Integration/RK45
Math: Linear/Mag
Orbit: OrbitMechanics/LambertTOF
SC: BasicOrbit/RV2El

Back to the Orbit Module page