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.

380 Chapter 7 FIR FILTER DESIGN<br />

P7.16 Design a bandpass filter using a fixed window design technique that has the minimum<br />

length and that satisfies the following specifications:<br />

}<br />

lower stopband edge = 0.3π<br />

A<br />

upper stopband edge = 0.6π s =40dB<br />

}<br />

lower passband edge = 0.4π<br />

R<br />

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

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

P7.17 Repeat Problem P7.9 using the fir1 function.<br />

P7.18 Repeat Problem P7.10 using the fir1 function.<br />

P7.19 Repeat Problem P7.11 using the fir1 function.<br />

P7.20 Repeat Problem P7.12 using the fir1 function.<br />

P7.21 Repeat Problem P7.13 using the fir1 function.<br />

P7.22 Repeat Problem P7.14 using the fir1 function.<br />

P7.23 Consider an ideal lowpass filter with the cutoff frequency ω c =0.3π. Wewantto<br />

approximate this filter using a frequency sampling design in which we choose 40 samples.<br />

1. Choose the sample at ω c equal to 0.5, and use the naive design method to compute h(n).<br />

Determine the minimum stopband attenuation.<br />

2. Now vary the sample at ω c, and determine the optimum value to obtain the largest<br />

minimum stopband attenuation.<br />

3. Plot the magnitude responses in dB of the preceding two designs in one plot, and<br />

comment on the results.<br />

P7.24 Design the bandstop filter of Problem P7.10 using the frequency sampling method. Choose<br />

the order of the filter appropriately so that there are two samples in the transition band.<br />

Use optimum values for these samples. Compare your results with those obtained using the<br />

fir2 function.<br />

P7.25 Design the bandpass filter of Problem P7.11 using the frequency sampling method. Choose<br />

the order of the filter appropriately so that there are two samples in the transition band.<br />

Use optimum values for these samples. Compare your results with those obtained using the<br />

fir2 function.<br />

P7.26 Design the highpass filter of Problem P7.12 using the frequency sampling method. Choose<br />

the order of the filter appropriately so that there are two samples in the transition band.<br />

Use optimum values. Compare your results with those obtained using the fir2 function.<br />

P7.27 Consider the filter specifications given in Figure P7.1. Use the fir2 function and a<br />

Hamming window to design a linear-phase FIR filter via the frequency sampling method.<br />

Experiment with the filter length to achieve the required design. Plot the amplitude<br />

response of the resulting filter.<br />

P7.28 Design a bandpass filter using the frequency sampling method. Choose the order of the<br />

filter appropriately so that there is one sample in the transition band. Use optimum value<br />

for this sample. The specifications are as follows:<br />

lower stopband edge = 0.3π<br />

upper stopband edge = 0.7π<br />

}<br />

A s<br />

=40dB<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!