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)
--------------------------------------------------------------------------