4 tap moving averaging filter

2 views (last 30 days)
uzmeed
uzmeed on 1 Dec 2018
Edited: Adam Danz on 1 Dec 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

Answers (1)

Adam Danz
Adam Danz on 1 Dec 2018
Edited: Adam Danz on 1 Dec 2018
Moving averages in matlab can be done using movemean() or with filter()

Tags

Community Treasure Hunt

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

Start Hunting!