移動平均値を求めたい
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
amemori
le 30 Oct 2020
Réponse apportée : Ameer Hamza
le 30 Oct 2020
過去のある区間のステップ分の移動平均値を求める方法はどのようなものがありますか?
0 commentaires
Réponse acceptée
Ameer Hamza
le 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.
0 commentaires
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!