DADiSP Worksheet Functions > Function Categories > Statistics and Calculus > BLOCKRMS
Computes a non-overlapping block RMS of a series.
BLOCKRMS(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 N-point block median.
W1: 1..12
W2: blockrms(W1, 2)
W3: blockrms(W1, 3)
W2 == {1.581, 3.536, 5.523, 7.517, 9.513, 11.511}
W3 == {2.160, 5.066, 8.042, 11.030}
BLOCKRMS computes the N-point non-overlapping block RMS of a series by decimating the standard N-point moving RMS.
If the block size is not an integer factor of the series length, the end point RMS 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 RMS calculation is adjusted for the number of points remaining in the current processing block.
See MOVRMS for more details on rampflag.
For multi-column series, BLOCKRMS computes the block RMS on each column.
See RMS to compute the RMS of the entire series.
See BLOCKAVG to compute the block average of a series.