------------------------------------------------------------------------------- Computes the effective pulsewidth given the rise and fall times. If pulsewidth is not entered, it will use a range from 0.02 to 1 sec. If tauMax is not entered it will assume an infinite control period. ------------------------------------------------------------------------------- Form: effPw = EffPw( tauRise, tauFall, pulsewidth, tauMax ) ------------------------------------------------------------------------------- ------ Inputs ------ tauRise (1,1) Rise time constant tauFall (1,1) Fall time constant pulsewidth (1,:) Pulsewidths tauMax (1,1) Control period ------- Outputs ------- effPw (1,:) Effective pulsewidth -------------------------------------------------------------------------------