Some students don't have the textbook and asked me to post the problems. So here they are.
HW 8
This problem explores the design a symmetric real-valued linear phase FIR bandpass filter that meets the following specifications.
Amplitude Spec.
Frequency Spec.
Design this filter using the window technique using the best window from the set {rectangular, Bartlett, Hann, Hamming, Blackman}. Indicate which window shape you used.
Design this filter using the window technique using the Kaiser window. Indicate the Kaiser window parameters ( and ).
Using FDATool in Matlab, design this filter using equiripple design method.
Make a table with one row for each filter you designed (window, Kaiser, equiripple). The table should have a column for the following parameters: length, order, group delay, type (I, II, III, or IV), and window parameters.
For each filter you design, turn in plots of the impulse response, magnitude response (linear and dB), and phase response. The frequency domain plots should show response over the interval . Also include a pole-zero plot.
This problem explores designing a lowpass filter with a very narrow transition band that achieves the following specifications: dB ripple in the passband () and dB suppression in the stopband ().
Design this filter using the window technique using the best window from the set {rectangular, Bartlett, Hann, Hamming, Blackman}. Indicate which window shape you used.
Design this filter using the window technique using the Kaiser window. Indicate the Kaiser window parameters ( and ).
Using FDATool in Matlab, design this filter using equiripple design method.
Make a table with one row for each filter you designed (window, Kaiser, equiripple). The table should have a column for the following parameters: length, order, group delay, type (I, II, III, or IV), and window parameters.
For each filter you design, turn in plots of the impulse response, magnitude response (linear and dB), and phase response. The frequency domain plots should show response over the interval . Also include a pole-zero plot.
This problem explores designing a lowpass filter for sample rate conversion using the system depicted in Fig. 6.47 (c) in the textbook (page 379) in which the upsampling factor is and the downsampling factor is . The maximum frequency in the signal is . Design the lowpass filter to have dB of ripple in the pass band and dB of attenuation in the stopband. Use your knowledge of upsampling and downsampling to determine the passband and stopband edge frequencies, and . What are and ?
Design this filter using the window technique using the best window from the set {rectangular, Bartlett, Hann, Hamming, Blackman}. Indicate which window shape you used.
Design this filter using the window technique using the Kaiser window. Indicate the Kaiser window parameters ( and ).
Using FDATool in Matlab, design this filter using equiripple design method.
Make a table with one row for each filter you designed (window, Kaiser, equiripple). The table should have a column for the following parameters: length, order, group delay, type (I, II, III, or IV), and window parameters.
For each filter you design, turn in plots of the impulse response, magnitude response (linear and dB), and phase response. The frequency domain plots should show response over the interval . Also include a pole-zero plot.
Suppose you would like to boost by a factor of 4 the low frequencies of an audio signal between the range of Hz and leave the scale of frequencies above Hz unchanged. This type of filter has two passbands and no stopband. It is called a shelving filter. The transition band extends from Hz to Hz. You plan to perform this processing using the system depicted in Fig. 6.1 of the textbook (page 331) using a sample rate of k samples/second. Convert this information to a specification for a discrete-time filter and design a linear phase filter to meet this spec. Require your filter to limit deviations from the desired response to in both pass bands.
Design this filter using the window technique using the best window from the set {rectangular, Bartlett, Hann, Hamming, Blackman}. Indicate which window shape you used.
Design this filter using the window technique using the Kaiser window. Indicate the Kaiser window parameters ( and ).
Using FDATool in Matlab, design this filter using equiripple design method.
Make a table with one row for each filter you designed (window, Kaiser, equiripple). The table should have a column for the following parameters: length, order, group delay, type (I, II, III, or IV), and window parameters.
For each filter you design, turn in plots of the impulse response, magnitude response (linear and dB), and phase response. The frequency domain plots should show response over the interval . Also include a pole-zero plot.
After working the previous 4 problems, summarize your observations about the best filter design method to use if the goal is to minimize the filter length.
Design a differentiator/delay filter pair to be used in FM demodulation. Let the received signal be . The FM demodulated signal is
In FM demodulation (as in many other applications), it is vital to keep signal time aligned. Note that is the output of a derivative filter. Because the derivative filter delays the signal, the signal must also be delayed. Thus it would be more correct to express FM demodulation as
where is the output of an all pass filter having the same delay as the derivative filter.
Design type III derivative and delay filters using a Hamming window with length .
Design type IV derivative and delay filters using a Hamming window with length .
In each case, plot the impulse response, and frequency response over .