LoadFlex:

Path: SC/Attitude

% Reads in flex data from a formatted text file.
 The flex data is in the format:

   # Nodes
   Node ID rX rY rZ mass (one line for each node)
   Mode ID omega         (one line for each mode)
   PhiX PhiY PhiZ        (one block for each mode and within each block
                          one line for each node)
   
--------------------------------------------------------------------------
   Form:
   [phi, omega, rNode, mNode, nodeID, nNodes, nModes] = LoadFlex( file, path )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   file             (:)     File names
   path                     Name of path
   

   -------
   Outputs
   -------
   phi              (3,n*m) Nodal displacements per modal displacement
   omega            (m)     Modal frequencies
   rNode            (3,n)   Location of each node with respect to the origin
   mNode            (n)     Mass of each node
   nodeID           (n)     Node id
   nNodes           (1)     Number of nodes
   nModes           (1)     Number of modes

--------------------------------------------------------------------------
 See ComstarSA.txt
--------------------------------------------------------------------------

Children:

SC: SCData/ComstarSA
Common: General/DeBlankLT
Common: Graphics/Axis3D
Common: Graphics/NewFig
Common: Graphics/PltStyle
Common: Graphics/XLabelS
Common: Graphics/YLabelS
Common: Graphics/ZLabelS

Back to the SC Module page