AddMass:

Path: Common/MassProperties

% Add mass properties. 
 mB is optional. 
 mA and/or mB may be arrays of data structures.

 Typing AddMass returns the default data structure.
--------------------------------------------------------------------------
   Form:
   m = AddMass( mA, mB, u )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   mA          (:)    Mass data structure
                      .mass    (1,1) Mass
                      .cM      (3,1) Center-of-mass
                      .inertia (3,3) Inertia matrix about CM
   mB          (:)    Mass data structure
                      .mass    (1,1) Mass
                      .cM      (3,1) Center-of-mass
                      .inertia (3,3) Inertia matrix about CM
   u           (1,:)  Units
   
   -------
   Outputs
   -------
   m           (:)    Mass data structure
                      .mass    (1,1) Mass
                      .cM      (3,1) Center-of-mass
                      .inertia (3,3) Inertia matrix

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

Children:

Math: Linear/SkewSq

Back to the Common Module page