02.10.2019 Views

UploadFile_6417

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

364 Chapter 7 FIR FILTER DESIGN<br />

1.07<br />

1.0<br />

0.93<br />

Amplitude Response<br />

Error Function<br />

0.07<br />

0<br />

−0.07<br />

0.1<br />

L + 3 = 6<br />

extrema<br />

0.4 1<br />

ω/π<br />

0.04<br />

0.0<br />

−0.04<br />

0.1<br />

L − 1 = 2<br />

extrema<br />

0.4 1<br />

FIGURE 7.34 Amplitude response and the error function in Example 7.22<br />

ω/π<br />

a maximum at ω = π). Now if we include the end points ω =0and ω = π,<br />

then P (ω) has at most (L +1)local extrema in the closed interval 0 ≤ ω ≤ π.<br />

Finally, we would like the filter specifications to be met exactly at band edges<br />

ω p and ω s. Then the specifications can be met at no more than (L +3)extremal<br />

frequencies in the 0 ≤ ω ≤ π interval.<br />

Conclusion<br />

The error function E(ω) has at most (L +3)extrema in S. □<br />

□ EXAMPLE 7.22 Let us plot the amplitude response of the filter given in Example 7.21 and count<br />

the total number of extrema in the corresponding error function.<br />

Solution<br />

The impulse response is<br />

h(n) = 1 [1, 2, 3, 4, 3, 2, 1], M =7 or L =3<br />

15<br />

and α(n) = 1 [4, 6, 4, 2] and β(n) =[ 0, 0, 8 , 8 15 15 15]<br />

from Example 7.21. Hence<br />

P (ω) = 8<br />

15 cos2 ω + 8<br />

15 cos3 ω<br />

which is shown in Figure 7.34. Clearly, P (ω) has (L − 1) = 2 extrema in the<br />

open interval 0

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!