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

 Accepted Answer

Star Strider
Star Strider on 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 Comments

Thank You so Much
As always, my pleasure.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!