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)
   
   Since version 1. See ComstarSA.txt
--------------------------------------------------------------------------
   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

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

Children:

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

Back to the SC Module page