moving average of array

2 views (last 30 days)
Guido Pastore
Guido Pastore on 25 Mar 2019
Commented: Star Strider on 25 Mar 2019
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
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
Guido Pastore
Guido Pastore on 25 Mar 2019
Thank You so Much
Star Strider
Star Strider on 25 Mar 2019
As always, my pleasure.

Sign in to comment.

More Answers (0)

Categories

Find more on Creating and Concatenating Matrices in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!