I try to combine my 7 band FIR filters into 1 FIR in order to process an audio signal. I use convolution to combine their coefficients but the effective is not the same as I apply 7 different FIR filter. I also have the gain problem
H = conv(conv(conv(conv(conv(conv(h1,h2),h3),h4),h5),h6),h7)
My questions are Is convolution a correct way to do combine multiple FIR filters into one filter If not, then what technique should I look into? If yes, then what did I do wrong?
Regards
Answer
What you tried to do in your example is combine the filters in series rather than parallel.
That is, if your signal is y=((x∗h1)∗h2)…∗h7 then, according to the associativity property of the Convolution, y=x∗(h1∗h2…∗h7)⏟H
However, if you wish to perform a parallel filtering then your signal is y=7∑i=1x∗hi and acording to the distributivity property of the Convolution, y=x∗7∑i=1hi⏟H
No comments:
Post a Comment