DADiSP Worksheet Functions > Function Categories > Statistics and Calculus > BLOCKMAX
Computes a non-overlapping block maximum of a series.
BLOCKMAX(series, N)
series |
- |
A series or table. |
N |
- |
An integer, the points per block to calculate the maximum as the series is processed. |
A series or table, the N-point block maximum.
W1: 1..12
W2: blockmax(W1, 2)
W2 == {2, 4, 6, 8, 10, 12}
W1: 1..12
W2: blockmax(W1, 3)
W2 == {3, 6, 9, 12}
BLOCKMAX computes the N-point non-overlapping block maximum of a series by decimating the standard N-point moving maximum.
If the block size is not an integral fraction of the series length, the end points are not processed.