EE 643 Project #4 Spring 1999
This project will investigate three methods for FIR filter design ---
windowing, frequency sampling, and the Parks-McClellan algorithm.
Plot the impulse response, magnitude response, and zero-pole locations
of the five filters.
zplane for magnitude
response and pole-zero plots.)
Compare the characteristics of the magnitude response.
ifft) file:/opt/matlab.v5.3/help/techdoc/ref/ifft.html. Keep in mind that the DFT coefficients must be symmetric to yield a real impulse response. For example, a cutoff of and a length of 9 would yield a DFT coefficient vector [1 1 1 0 0 0 0 1 1] corresponding to the frequency values 2*pi*[0 1/9 2/9 3/9 4/9 5/9 6/9 7/9 8/9]. Plot the impulse response, magnitude response, and zero-pole locations. Compare the characteristics of the magnitude response to the other designs.
auread. Using the
fftfunction, determine the frequencies of the upper and lower tone of the doorbell. Using trial-and-error, design a filter using any of the FIR techniques above such that the lower tone is attenuated no more than 3 dB while the upper tone is attenuated as much as possible. Describe how you designed your filter.
auwritethe resulting signal as the file newdoor.au. Email the file to me as an attachment. The best result gets a gold star and a certificate suitable for framing. ;-)
Write a short report describing your findings. The report should
contain a concise description of your results.
Include listings of your function. Be sure to answer all questions.
You are not expected to include in
the report all plots which you were required to do; instead, you should
summarize in your report the important features of the unincluded plots.
For further help: