4 tap moving averaging filter

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

Risposte (1)

Adam Danz
Adam Danz il 1 Dic 2018
Modificato: Adam Danz il 1 Dic 2018

0 voti

Moving averages in matlab can be done using movemean() or with filter()

Categorie

Tag

Richiesto:

il 1 Dic 2018

Modificato:

il 1 Dic 2018

Community Treasure Hunt

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

Start Hunting!

Translated by