Moving average
Question
- Generate a noisy sine-wave with the following parameters:
duration = 0.5 s, amp = 3, freq = 0.5 Hz, sd noise = 0.15, where the noise is Gaussian - Smooth the data with a moving average filter, with a
filter-window of 15 points. - Plot the noisy data, superposed by the smoothed curve.
Answer