SimulateFlyby:

Path: StraightLine/Flyby

% Straight line flyby simulation
 If there are no outputs the function creates a plot. Type SimulateFlyby for a
 demo including verification by an analytical solution.
--------------------------------------------------------------------------
   Form:
   [xP,t] = SimulateFlyby( data ), or
   [xP,t] = SimulateFlyby( mD, mF, thrust, uE, tF, n )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   mD      (1,1) Dry mass (kg)
   mF      (1,1) Mass of fuel (kg)
   thrust	(1,1) Thrust (N)
   uE      (1,1) Exhaust velocity (km/s)
   tF      (1,1) Final time (s)
   n       (1,1) Number of steps

   -------
   Outputs
   -------
   xP      (3,n)	Simulation results [x;v;m]
   t       (1,n) Time vector

--------------------------------------------------------------------------
   See also FlybyReport
--------------------------------------------------------------------------

Children:

StraightLine: Flyby/FlybyConstantThrust
Common: Database/Constant
Common: Graphics/DistanceLabel
Common: Graphics/Plot2D
Common: Graphics/TimeLabl
Math: Integration/RK4

Back to the StraightLine Module page