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.

378 Chapter 7 FIR FILTER DESIGN<br />

h(n) isofalinear-phase type. Verify your function on sequences given here.<br />

h I(n) =(0.9) |n−5| cos[π(n − 5)/12] [u(n) − u(n − 11)]<br />

h II(n) =(0.9) |n−4.5| cos[π(n − 4.5)/11] [u(n) − u(n − 10)]<br />

h III(n) =(0.9) |n−5| sin[π(n − 5)/12] [u(n) − u(n − 11)]<br />

h IV(n) =(0.9) |n−4.5| sin[π(n − 4.5)/11] [u(n) − u(n − 10)]<br />

h(n) =(0.9) n cos[π(n − 5)/12] [u(n) − u(n − 11)]<br />

P7.7 Prove the following properties of linear-phase FIR filters.<br />

1. If H(z) has four zeros at z 1 = re jθ , z 2 = 1 r e−jθ , z 3 = re −jθ , and z 4 = 1 r e−jθ then H(z)<br />

represents a linear-phase FIR filter.<br />

2. If H(z) has two zeros at z 1 = e jθ and z 2 = e −jθ then H(z) represents a linear-phase FIR<br />

filter.<br />

3. If H(z) has two zeros at z 1 = r and z 2 = 1 then H(z) represents a linear-phase FIR<br />

r<br />

filter.<br />

4. If H(z) has a zero at z 1 =1or a zero at z 1 = −1 then H(z) represents a linear-phase<br />

FIR filter.<br />

5. For each of the sequences given in Problem P7.6, plot the locations of zeros. Determine<br />

which sequences imply linear-phase FIR filters.<br />

P7.8 A notch filter is an LTI system, which is used to eliminate an arbitrary frequency ω = ω 0.<br />

The ideal linear-phase notch filter frequency response is given by<br />

H d<br />

( e<br />

jω ) =<br />

{<br />

0, |ω| = ω0;<br />

1 · e −jαω , otherwise.<br />

(α is a delay in samples)<br />

1. Determine the ideal impulse response, h d (n), of the ideal notch filter.<br />

2. Using h d (n), design a linear-phase FIR notch filter using a length 51 rectangular window<br />

to eliminate the frequency ω 0 = π/2 rad/sample. Plot amplitude the response of the<br />

resulting filter.<br />

3. Repeat part 2 using a length 51 Hamming window. Compare your results.<br />

P7.9 Design a linear-phase bandpass filter using the Hann window design technique. The<br />

specifications are<br />

lower stopband edge: 0.2π<br />

As =40dB<br />

upper stopband edge: 0.75π<br />

lower passband edge: 0.35π<br />

upper passband edge: 0.55π R p =0.25 dB<br />

Plot the impulse response and the magnitude response (in dB) of the designed filter. Do not<br />

use the fir1 function.<br />

P7.10 Design a bandstop filter using the Hamming window design technique. The specifications are<br />

lower stopband edge: 0.4π<br />

As =50dB<br />

upper stopband edge: 0.6π<br />

lower passband edge: 0.3π<br />

upper passband edge: 0.7π R p =0.2 dB<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!