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

回答(1 个)

Adam Danz
Adam Danz 2018-12-1
编辑:Adam Danz 2018-12-1

0 个投票

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

类别

帮助中心File Exchange 中查找有关 Digital and Analog Filters 的更多信息

标签

提问:

2018-12-1

编辑:

2018-12-1

Community Treasure Hunt

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

Start Hunting!

Translated by