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

Antworten (1)

Adam Danz
Adam Danz am 1 Dez. 2018
Bearbeitet: Adam Danz am 1 Dez. 2018

0 Stimmen

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

Kategorien

Tags

Gefragt:

am 1 Dez. 2018

Bearbeitet:

am 1 Dez. 2018

Community Treasure Hunt

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

Start Hunting!

Translated by