Azzera filtri
Azzera filtri

Moving Average Filter and Exponential Filter

92 visualizzazioni (ultimi 30 giorni)
Nathan Jaqua
Nathan Jaqua il 14 Feb 2021
Risposto: Star Strider il 14 Feb 2021
I have the following values:
29390.71
28995.66
29286.92
29388.58
29048.73
28696.74
28319.65
28813.04
I need to take these values and desgin a 10 days Moving Average Filter and then plot the original data and the filtered data in the same plot. I then need to do the same but with an exponential filter with the parameter alpha = 0.1.
Some help would be appreciated.

Risposte (1)

Star Strider
Star Strider il 14 Feb 2021
See Moving-Average Filter in the filter function documentation. The exponential filter is a version of this same approach.

Prodotti


Release

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by