移動平均値を求めたい

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

 Respuesta aceptada

Ameer Hamza
Ameer Hamza el 30 de Oct. de 2020

1 voto

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.

Más respuestas (0)

Categorías

Más información sobre Simulink en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 30 de Oct. de 2020

Respondida:

el 30 de Oct. de 2020

Community Treasure Hunt

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

Start Hunting!