PCentr:

Path: SC/Attitude

% Calculates the time from pulse start to the centroid.
 If there are no outputs it creates a plot.
--------------------------------------------------------------------------
   Form:
   [tc, u] = PCentr( taur, tauf, pulsewidth )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   taur             (1,1) Rise time constant (sec)
   tauf             (1,1) Fall time constant (sec)
   pulsewidth       (1,1) Pulsewidth (sec)

   -------
   Outputs
   -------
   tc               (1,1) Time from start of pulse to centroid (sec)
   u                (1,1) Effective pulsewidth (sec)

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

Children:

Common: Graphics/Plot2D

Back to the SC Module page