移動平均値を求めたい

5 次查看(过去 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 CenterFile Exchange 中查找有关 Simulink 的更多信息

Community Treasure Hunt

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

Start Hunting!