HighPassTResetEnabled

HighPassTResetEnabled performs a discrete-time first-order high-pass filter with the continuous-time Laplace notation

G(s) = (TD * s) / (1 + T * s)

The relationship between the analogue cut-off-frequency (fc) and T is

fc = 1 / (2*p*T)

Methods

Arguments

Return Value

compute

IV:: continuous

T:: continuous

TD:: continuous

E:: logical

R:: logical

u:: continuous

y

none

continuous

On activation of method

compute

If reset is disabled (i.e. R = FALSE) and E = TRUE, x1 = x1 + (TD*u – TD*x2 – dT*x1)/T is buffered.

If reset is enabled, x1 = IV is buffered.

y

returns the value x1.