RocketEquation:

Path: SC/Actuator

% Compute the final mass from the rocket equation.
 You use any combination of inputs as vectors that make sense. However, if you
 want internal plots you should only have one be an array. Otherwise it will
 always plot with x being the first input that is > length 1. The delta-V and
 exhaust velocity must have the same units.
--------------------------------------------------------------------------
   Form:
   massFinal = RocketEquation( deltaU, massInitial, uExhaust )
--------------------------------------------------------------------------

   -------
   Inputs
   -------
   deltaU       (1,:)   Required delta-v
   massInitial  (1,:)   Initial mass
   uExhaust     (1,:)   Exhaust velocity

   -------
   Outputs
   -------
   massFinal    (1,:)   Final mass

--------------------------------------------------------------------------

Children:

Common: General/Watermark
Common: Graphics/NewFig
Common: Graphics/Plot2D

Back to the SC Module page