experience and innovation

Now Hiring!

-------------------------------------------------------------------------------
   Calculates the time from pulse start to the controid.
-------------------------------------------------------------------------------
   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)

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