Fixed-Point Blockset    
Integrator Forward

Perform discrete-time integration of a signal using the forward method

Library

Calculus

Description

The Integrator Forward block performs a discrete-time integration of a signal using the forward method. The block multiplies the input by the weighted sample time and adds the result to the cumulative sum since time zero. The block outputs the sum up to the nth time step at time n+1. The first term of the sum is the Initial condition for previous output parameter.

Remarks

The output of the Integrator Forward block differs from the output of the Integrator Backward block only by the first and last terms in the cumulative sum.

Parameters and Dialog Box

Gain value
Specify the weight by which the sample time is multiplied.
Initial condition for previous output
Set the initial condition for the previous output.
Output data type and scaling
The options are:
Round toward
Rounding mode for the fixed-point output.
Saturate to max or min when overflows occur
If selected, fixed-point overflows saturate.

Characteristics

Input Port
Any data type supported by the blockset
Output Port
Same as the input
Direct Feedthrough
Yes
Scalar Expansion
Of inputs and gain

See Also

Integrator Backward, Integrator Backward Resettable, Integrator Backward Resettable Limited, Integrator Forward Resettable, Integrator Forward Resettable Limited, Integrator Trapezoidal, Integrator Trapezoidal Resettable, Integrator Trapezoidal Resettable Limited


  Integrator Backward Resettable Limited Integrator Forward Resettable