移動平均値を求めたい

5 views (last 30 days)
amemori
amemori on 30 Oct 2020
Answered: Ameer Hamza on 30 Oct 2020
過去のある区間のステップ分の移動平均値を求める方法はどのようなものがありますか?

Accepted Answer

Ameer Hamza
Ameer Hamza on 30 Oct 2020
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.

More Answers (0)

Categories

Find more on Simulink 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!