Simulate2DApproach:

Path: Interplanetary/OrbitInsertion

% Simulate a 2D planetary approach
 Models a rocket with throttle approaching a point mass planet.
--------------------------------------------------------------------------
   Form:
   Simulate2DApproach( t, x0, phi, a, d, name )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   t       (1,:)   Time vector
   x0      (4,1)   Initial state [r;u;v;theta]
   phi     (1,:)   Thrust angle (rad)
   a       (1,:)   Acceleration due to the rocket (0-1)
   d        (.)    Data structure describing spacecraft model
                   .mu   (1,1) Gravity
                   .aMax (1,1) Max accel
   name    (1,:)   Name for the plots

   -------
   Outputs
   -------
   x       (4,:)   [r;v] Cartesian position and velocity (km,km/s)

--------------------------------------------------------------------------
 See also: RHS2DPolarOrbit
--------------------------------------------------------------------------

Children:

Orbit: OrbitCoord/El2RV
Orbit: OrbitMechanics/Nu2M
Common: Graphics/Plot2D
Common: Graphics/TimeLabl
Math: Integration/RK45
Math: Linear/Cross
Math: Linear/Dot
Math: Linear/Mag
Math: Linear/Unit

Back to the Interplanetary Module page