AVG – Moving average filter
Block SymbolLicensing group: STANDARD
Function Description
The AVG block computes a moving average from the last n samples according to the
formula
There is a limitation , where depends on the implementation. If the last n samples are not yet known, the average is computed from the samples available.
This block propagates the signal quality. More information can be found in the 1.4 section.
Input
u | Input signal to be filtered | Double (F64) |
Parameter
n | Number of samples for averaging 1 10000000 10 | Long (I32) |
nmax | Allocated size of array 10 10000000 100 | Long (I32) |
Output
y | Filtered output signal | Double (F64) |
[Previous] [Back to top] [Up] [Next]
2024 © REX Controls s.r.o., www.rexygen.com