Implementing IIR/FIR Filters
Implementing IIR/FIR Filters
Implementing IIR/FIR Filters
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
LHS = h<br />
0<br />
sinθτ g<br />
+ h<br />
1<br />
sinθτ (<br />
g<br />
– 1)<br />
+ h<br />
2<br />
sinθτ<br />
(<br />
g<br />
– 2)<br />
+ …<br />
+h<br />
N – 3<br />
so that if:<br />
Eqn. 7-24<br />
then for every positive argument there will be a corresponding<br />
negative argument. For example, the<br />
argument for the h 1 term becomes:<br />
which is the negative of the argument for the h N-2<br />
term, i.e.,<br />
so that if:<br />
τ g<br />
sinθτ<br />
(<br />
g<br />
– N+<br />
3)<br />
+ h<br />
N– 2<br />
sinθτ<br />
(<br />
g<br />
– N+<br />
2)<br />
+ h<br />
N– 1<br />
sinθτ<br />
(<br />
g<br />
– N+<br />
1)<br />
( N – 1)<br />
= -----------------<br />
2<br />
N 1<br />
θ – ⎛------------ – 1⎞<br />
N 3<br />
θ<br />
⎝ 2 ⎠<br />
–<br />
= ⎛------------ ⎞<br />
⎝ 2 ⎠<br />
N 1<br />
θ – ⎛------------ – N + 2⎞<br />
– θ<br />
⎝ 2 ⎠<br />
N 3 –<br />
= ⎛------------ ⎞<br />
⎝ 2 ⎠<br />
hi () = hN ( – 1–<br />
i)<br />
for 0 ≤ i ≤ N – 1<br />
Eqn. 7-25<br />
then Eqn. 7-9 and Eqn. 7-25 represent the solution<br />
to . By substituting Eqn. 7-9 into Eqn. 7-20, the<br />
phase of a linear-phase <strong>FIR</strong> filter is given by:<br />
φθ ( )<br />
N – 1<br />
=<br />
– ⎛------------ ⎞θ ⎝ 2 ⎠<br />
Eqn. 7-26<br />
MOTOROLA 7-7