LibreOffice 7.4 Help
Calculates the moving average of a time series
For more information on the moving average, refer to the corresponding Wikipedia article.
Input Range: The reference of the range of the data to analyze.
Results to: The reference of the top left cell of the range where the results will be displayed.
Interval: The number of samples used in the moving average calculation.
The following table has two time series, one representing an impulse function at time t=0 and the other an impulse function at time t=2.
| A | B | |
|---|---|---|
| 1 | 1 | 0 | 
| 2 | 0 | 0 | 
| 3 | 0 | 1 | 
| 4 | 0 | 0 | 
| 5 | 0 | 0 | 
| 6 | 0 | 0 | 
| 7 | 0 | 0 | 
| 8 | 0 | 0 | 
| 9 | 0 | 0 | 
| 10 | 0 | 0 | 
| 11 | 0 | 0 | 
| 12 | 0 | 0 | 
| 13 | 0 | 0 | 
| Column 1 | Column 2 | 
|---|---|
| #N/A | #N/A | 
| 0.3333333333 | 0.3333333333 | 
| 0 | 0.3333333333 | 
| 0 | 0.3333333333 | 
| 0 | 0 | 
| 0 | 0 | 
| 0 | 0 | 
| 0 | 0 | 
| 0 | 0 | 
| 0 | 0 | 
| 0 | 0 | 
| 0 | 0 | 
| #N/A | #N/A |