Path: Orbit/OrbitControl
% Use Lambert with 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 --------------------------------------------------------------------------
Orbit: OrbitMechanics/LambertTOF SC: BasicOrbit/E2M SC: BasicOrbit/Nu2E SC: BasicOrbit/Nu2M SC: BasicOrbit/RV2El Common: CommonData/SwooshWatermark Common: General/CellToMat Common: General/IsVersionAfter Common: General/MatToCell Common: General/StringToTokens Common: General/Watermark Common: Graphics/NewFig Common: Graphics/Plot2D Common: Graphics/PltStyle Math: Integration/RK45 Math: Linear/Cross Math: Linear/DupVect Math: Linear/Mag Math: Linear/Unit
Back to the Orbit Module page