Average

Description
Computes the moving average of the input signal considering the defined frequency.
The output is defined by:
output = \frac{1}{T}\int_t^{t+T} input \cdot dt
Library
Control > Math
Parameters
| Property | Display Name | Parameter Type | Description |
|---|---|---|---|
| Frequency | Frequency (in Hz) | DoubleParameter | Frequency in Hz |
| Initial | Initial value | DoubleParameter | Initial value |
| SamplingTime | Sampling Time [s] | DoubleParameter | Sampling Time |
Pins
| Property | Pin Name | Type | Description |
|---|---|---|---|
| In | In | ControlIn | Input |
| Out | Out | ControlOut | Output |
Default Size
| Width | Height |
|---|---|
| 4 | 4 |