MSData:

--------------------------------------------------------------------------
   Complete the stage data for a multi-stage launch vehicle.
   1 2 3 4 ... payload

   Provide the payload mass and 2 other parameters to retrieve a data
   structure with the complete set of data.

   The parameter names can be selected to be one of the following:
     m0    Initial (wet) mass above each stage including the stage
     mF    Final (dry) mass above each stage including the stage
     mS    Total mass of each stage
     mSS   Mass of the structure for each stage
     mSP   Mass of the propellant for each stage
     eS    Structural ratio for each stage
     pS    Payload ratio for each stage

   Note: the following pairs of parameters do not provide sufficient
   information:
        [m0,mS]
        [m0,pS]
        [pS,mS]
        [mF,mSS]

   Since version 1.0
--------------------------------------------------------------------------
   Form:
   d = MSData;   % returns a multi-stage data structure with empty fields
        -or-
   d = MSData( mPLD, p1, v1, p2, v2 );
        -or-
   d = MSData( d );   % where d is a multi-stage data structure
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   mPLD        (1,1)  Payload mass
   p1           (:)   Name of the first parameter (string)
   v1          (1,:)  Value of parameter 1
   p2           (:)   Name of the second parameter (string)
   v2          (1,:)  Value of paramter 2

     -OR-

   d            (.)   Multi-stage data structure with "mPLD" and two other
                       fields specified.

   -------
   Outputs
   -------
   d            (.)   Multi-stage data structure with fields:
    .m0    Initial (wet) mass above each stage including the stage
    .mF    Final (dry) mass above each stage including the stage
    .mS    Total mass of each stage
    .mSS   Mass of the structure for each stage
    .mSP   Mass of the propellant for each stage
    .eS    Structural ratio for each stage
    .pS    Payload ratio for each stage

--------------------------------------------------------------------------
	References:	Wiesel, W. E., Spaceflight Dynamics, McGraw-Hill, 1988,
               pp. 199-202.
--------------------------------------------------------------------------

Children:

Propulsion: MultiStage/EP2M
Propulsion: MultiStage/M2MS
Propulsion: MultiStage/MS2M