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

 採用された回答

Star Strider
Star Strider 2019 年 3 月 25 日

0 投票

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

2 件のコメント

Guido Pastore
Guido Pastore 2019 年 3 月 25 日
Thank You so Much
Star Strider
Star Strider 2019 年 3 月 25 日
As always, my pleasure.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Community Treasure Hunt

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

Start Hunting!

Translated by