Given an array of double data. How can I calculate the moving average of this array?

 Réponse acceptée

Star Strider
Star Strider le 25 Mar 2019

0 votes

If you have R2016a or later, use the movmean (link) function.
Otherwise, see the filter (link) documentation section on Moving Average Filter (link).

2 commentaires

Guido Pastore
Guido Pastore le 25 Mar 2019
Thank You so Much
Star Strider
Star Strider le 25 Mar 2019
As always, my pleasure.

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by