Communications Blockset | ![]() ![]() |
Integrate, resetting to zero periodically and reducing by a modulus
Library
Integrators, in Basic Comm Functions
Description
The Integrate and Dump block integrates the input signal in discrete time, resets to zero according to a fixed schedule, and reduces modulo the Absolute value bound parameter. If the Absolute value bound parameter is K, then the block output is strictly between -K and K.
The reset times are the positive integral multiples of the Integration period parameter. At each reset time, the block performs its final integration step, sends the result to the output port, and then clears its internal state for the next time step.
The input can be either a scalar, a sample-based vector, or a frame-based row vector. The block processes each vector element independently.
This block uses the Forward Euler integration method.
Dialog Box
Examples
Integrate a constant signal whose value is 1 using these parameters:
You can use a Simulink Constant block for the input signal. The Simulink Scope block shows the output below.
Notice that the output is 0 at time 0 and that the output never exceeds 5. Also notice that the output at time 7.5 seconds (Integration period plus Sample time) is the result of resetting the integrator after the previous time step and then considering the input signal between times 7 and 7.5.
See Also
Discrete Modulo Integrator, Windowed Integrator, Discrete-Time Integrator (Simulink)
![]() | Integer to Bit Converter | Interlacer | ![]() |