4 tap moving averaging filter

2 visualizaciones (últimos 30 días)
uzmeed
uzmeed el 1 de Dic. de 2018
Editada: Adam Danz el 1 de Dic. de 2018
Hi
for a 4 tap moving averaging filter is following correct
s=1000;
>> x=randn(1,s);
>> b=[0.25,0.25,0.25,0.25];
>> y = filter( b, 1, x );
I will be highly obliged for the advice

Respuestas (1)

Adam Danz
Adam Danz el 1 de Dic. de 2018
Editada: Adam Danz el 1 de Dic. de 2018
Moving averages in matlab can be done using movemean() or with filter()

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by