Smooth a time series by averaging window.
smoothts(ts, windowsize)
Time series.
Length of smoothing window.
Smoothed time series (1D array).
See discussions in the text of “Time-Frequency Analysis”.