Calculates the moving RMS of a series.
MOVRMS(series, N, rampflag)
series |
- |
A series or table. |
||||
N |
- |
An integer, the number of points to calculate the RMS as the series is processed. |
||||
rampflag |
- |
Optional. An integer, endpoint averaging flag.
|
A series or table.
W1: {1, 2, 4, 7}
W2: movrms(W1, 3)
returns the series {1, 1.581, 2.646, 4.796, 5.701, 7}
W3: movrms(W1, length(W1))
W3[length(w1)] == rms(w1) == 4.183
MOVRMS computes the moving discrete root mean square value. For each section of length N, the RMS value is defined as:
For speed, this routine uses the built-in function MOVAVG.
See LINRMS to compute a phase-less moving RMS.