Block that outputs the triggered moving mean value of an input signal.
At the start of the simulation, and whenever the trigger signal is rising
(i.e., the trigger changes to true
), the block samples
the input, computes the moving mean value over the past n
samples,
and produces this value at its output y
.
-
March 30, 2022, by Michael Wetter:
Added discrete
keyword to sampled variable.
This is for
issue 2942.
-
October 19, 2020, by Michael Wetter:
Removed non-needed protected parameter t0
.
-
March 2, 2020, by Michael Wetter:
Changed icon to display dynamically the output value.
-
November 7, 2019, by Michael Wetter:
Reformulated model to use an equation
rather than an algorithm
section.
-
October 16, 2019, by Kun Zhang:
First implementation. This is for issue 1588.
Generated at 2025-01-31T19:25:52Z
by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos