02.10.2019 Views

UploadFile_6417

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Problems 381<br />

2.02<br />

1.98<br />

Hr(ω)<br />

1<br />

0<br />

0<br />

0.25 0.35 0.65 0.75 1<br />

ω<br />

π<br />

FIGURE P7.1 Filter Specifications for Problem P7.27<br />

}<br />

lower passband edge = 0.4π<br />

R<br />

upper passband edge = 0.6π p =0.5 dB.<br />

Provide a plot of the log-magnitude response in dB and stem plot of the impulse response.<br />

P7.29 The frequency response of an ideal bandpass filter is given by<br />

{ 0, 0 ≤|ω| ≤ π/3<br />

H d (e jω )= 1, π/3 ≤|ω| ≤ 2π/3<br />

0, 2π/3 ≤|ω| ≤ π<br />

1. Determine the coefficients of a 25-tap filter based on the Parks-McClellan algorithm<br />

with stopband attenuation of 50 dB. The designed filter should have the smallest<br />

possible transition width.<br />

2. Plot the amplitude response of the filter using the function developed in Problem P7.6.<br />

P7.30 Consider the bandstop filter given in Problem P7.10.<br />

1. Design a linear-phase bandstop FIR filter using the Parks-McClellan algorithm. Note<br />

that the length of the filter must be odd. Provide a plot of the impulse response and the<br />

magnitude response in dB of the designed filter.<br />

2. Plot the amplitude response of the designed filter and count the total number of extrema<br />

in stopband and passbands. Verify this number with the theoretical estimate of the total<br />

number of extrema.<br />

3. Compare the order of this filter with those of the filters in Problems P7.10 and P7.24.<br />

4. Verify the operation of the designed filter on the following signal<br />

x(n) =5− 5 cos<br />

( πn<br />

2<br />

)<br />

; 0 ≤ n ≤ 300<br />

Copyright 2010 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).<br />

Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.

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

Saved successfully!

Ooh no, something went wrong!