DADiSP Worksheet Functions > Function Categories > Statistics and Calculus > BLOCKMAX

 

BLOCKMAX

Purpose:

Computes a non-overlapping block maximum of a series.

Syntax:

BLOCKMAX(series, N)

series

-

A series or table.

N

-

An integer, the points per block to calculate the maximum as the series is processed.

Returns:

A series or table, the N-point block maximum.

Example:

W1: 1..12

W2: blockmax(W1, 2)

 

W2 == {2, 4, 6, 8, 10, 12}

Example:

W1: 1..12

W2: blockmax(W1, 3)

 

W2 == {3, 6, 9, 12}

Remarks:

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.

See Also:

BLOCKAVG

BLOCKMEDIAN

BLOCKMIN

BLOCKRMS

COLMAX

MOVMAX