Path: StraightLine/ConstantThrust
% Simulate a straight line, constant-thrust trajectory
Type SimulateStraightLineTrajectory for a demo.
--------------------------------------------------------------------------
Form:
[xP,t] = SimulateStraightLineTrajectory( d, dontPlot )
--------------------------------------------------------------------------
------
Inputs
------
d (.) Data structure
See StraightLineDataStructure
dontPlot (1) Flag to skip plot, default false
-------
Outputs
-------
xP (3,:) State [distance;velocity;mass]
t (1,:) Time (s)
--------------------------------------------------------------------------
StraightLine: ConstantAccel/StraightLineDataStructure StraightLine: ConstantThrust/ComputeThrust Common: Database/Constant Common: Graphics/DistanceLabel Common: Graphics/Plot2D Common: Graphics/TimeLabl Math: Integration/RK4
Back to the StraightLine Module page