Computes a nonoverlapping block median of a series.
BLOCKMEDIAN(series, N, rampflag)
series 
 
A series or table.  
N 
 
An integer, the points per block to calculate the median as the series is processed.  
rampflag 
 
Optional. An integer, endpoint median flag.

A series or table, the Npoint block median.
W1: 1..12
W2: blockmedian(W1, 3)
W3: blockmedian(W1, 4)
W2 == {2, 5, 8, 11}
W3 == {2.5, 6.5, 10.5}
W1: 1..12
W2: blockmedian(W1, 5)
W3: blockmedian(W1, 5, 0)
W2 == {3, 8, 11.5}
W3 == {3, 8, 0}
BLOCKMEDIAN computes the Npoint nonoverlapping block median of a series by decimating the standard Npoint moving median.
If the block size is not an integer factor of the series length, the end point median calculation is determined by rampflag. If rampflag is 0, the data beyond the end point is assumed to be 0.0. If rampflag is 1, the default, the median calculation is adjusted for the number of points remaining in the current processing block.
See MOVMEDIAN for more details on rampflag.
For multicolumn series, BLOCKMEDIAN computes the block median on each column.
See MEDIAN to compute the median of the entire series.
See BLOCKAVG to compute the block average of a series.