Moving average filter design from equation

2 visualizaciones (últimos 30 días)
hans
hans el 9 de Sept. de 2022
Respondida: Rohit el 4 de Oct. de 2022
Can you help me writing a code representing this equation for moving average filter It should be consider Data length, upper window and lower window the code must contain for loop and if statements

Respuestas (1)

Rohit
Rohit el 4 de Oct. de 2022
Hi,
Can you please provide more details about what is meant by “this equation” in question?
You can refer to the documentation links below to help you with moving the average filter and an example to help you with the implementation. If you wish to use a “for loop”, you can replace “conv” function with a “for loop” and move the window forward covering the entire data length.

Etiquetas

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by