Path: StraightLine/Rectilinear
% Simulate rectilinear motion. Uses an analytical solution. -------------------------------------------------------------------------- Form: [x, u, mF] = RectilinearMotion( thrust, massDry, massFuel, uE, t, u0 ) -------------------------------------------------------------------------- ------ Inputs ------ thrust (1,1) Thrust (N) massDry (1,1) Dry mass (kg) massFuel (1,1) Mass of fuel (kg) uE (1,1) Exhaust velocity (m/s) t (1,:) Time vector (s) u0 (1,1) Initial velocity (m/s) ------- Outputs ------- x (1,:) Position vector (m) u (1,:) Velocity vector (m) mF (1,:) Fuel mass vector (m) --------------------------------------------------------------------------
Common: Database/Constant Common: Graphics/Plot2D Common: Graphics/TimeLabl
Back to the StraightLine Module page