IntegralWithReset

Integrates a real-valued signal and allows resetting. The integral is computed by multiplying i by the sample time and accumulating the result. If rst is 1, the integration is reset to 0. The integral is 0 in the first execution cycle.

Blocks tree path

Standard\Dynamic\IntegralWithReset

Inputs

Name Type Description
i real The signal to integrate.
rst bool 1 to reset the integration to 0, 0 otherwise.

Outputs

Name Type Description
o real The integral of i since rst was 1.