過去のある区間のステップ分の移動平均値を求める方法はどのようなものがありますか?

 Akzeptierte Antwort

Ameer Hamza
Ameer Hamza am 30 Okt. 2020

1 Stimme

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.

Weitere Antworten (0)

Kategorien

Mehr zu Simulink finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!