移動平均値を求めたい

2 ビュー (過去 30 日間)
amemori
amemori 2020 年 10 月 30 日
回答済み: Ameer Hamza 2020 年 10 月 30 日
過去のある区間のステップ分の移動平均値を求める方法はどのようなものがありますか?

採用された回答

Ameer Hamza
Ameer Hamza 2020 年 10 月 30 日
See movmean(): https://www.mathworks.com/help/matlab/ref/movmean.html. For only using past values, write in like this
x; % signal
y = movmean(x, [4, 0]);
It will average 5 points.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulink についてさらに検索

Community Treasure Hunt

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

Start Hunting!