filter realization help

maduba

New Member
I need a help with filter realization. I dont understand how this works. This is a multiply and accumulate filter, I dont understand why cof[0] constant is multiplied, here is the code cof is the filter coefficients and sample is the samples. Any help with this very appreciated. Thank you
 
Last edited:
Thank you for the reply. This is a decimating filter. Thank you very much about the explanation about cof[0].It is clear for me. I have a another question. This is also part of code and related. I dont understand how this works. I dont understand why mac function called twice.
 
Last edited:
Cookies are required to use this site. You must accept them to continue using the site. Learn more…