Azzera filtri
Azzera filtri

移動平均値を求めたい

5 visualizzazioni (ultimi 30 giorni)
amemori
amemori il 30 Ott 2020
Risposto: Ameer Hamza il 30 Ott 2020
過去のある区間のステップ分の移動平均値を求める方法はどのようなものがありますか?

Risposta accettata

Ameer Hamza
Ameer Hamza il 30 Ott 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.

Più risposte (0)

Categorie

Scopri di più su Simulink in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!