User`s guide

Statistics
4-23
In the Buffer block, set:
-
Output buffer size (per channel) = 128
- Buffer overlap = 127
Running Operations
A running operation is one that processes successive sample-based or
frame-based inputs, and computes a result that reflects both present and past
inputs. A reset port enables you to restart this tracking at any time. The
running statistic is computed for each input channel independently, so the
block’s output is the same size as the input.
For example, in running mode (
Running selected from the Mode parameter)
the Maximum block outputs a record of the input’s maximum value over time.
The figure below illustrates how a Maximum block in running mode operates
on a frame-based 3-by-2 (two-channel) matrix input,
u. The running maximum
is reset at t=2 by an impulse to the block’s optional
Rst port.
7–2
24
51
86
02
1–5
3–0
24
117
ch1
61
13
39
Simulation time
In
ch2
Rst
0
0
1
0
ch1 ch2
Reset
Output
First output
First
input
t=0
t=1
t=2
t=3
69
69
69
86
86
86
86
86
817
61
63
69