Digital Signal Processing 2: Homework Assignment 3 Due: 13h15, Monday 09/19/2011 No Late Submission
Digital Signal Processing 2: Homework Assignment 3 Due: 13h15, Monday 09/19/2011 No Late Submission
Problem 1 (40%)
The impulse response of an ideal lowpass filter with passband cutoff frequency p= 0.75is, hd(n) = sinpn/n, n (-, +) a)Please generate and plot truncated sequence (Matlabok) h1(n) = hd(n-50), 0 n 100 b) Use freqzto sub-plot 256-point of |H1(ej)| (dB) and arg(H1(ej)), 0 < c) Based on h1(n), please design and plot a linear-phase filter h2(n) = h1(n).w(n) of length 55 using a Hanningwindow, then subplot |H2(ej)| (dB) and arg(H2(ej)) (Matlabok)
Problem 2 (25%)
Instead of pre-determining the length of the linear phase FIR lowpass filter, we are to determine the minimum length filter based on the Blackman windowingtechnique so that the filter satisfies the following specification. Please show the final designed filter h(n) (please specify it is Type 1 or Type 2?) and its frequency response (make sure you satisfy all the specifications). (Matlabok). p= 0.4, Rp= 0.3dB s = 0.6, As= 66dB Do you think Hamming window can be used, why or why not?
Problem (35%)
We are to design a band-stop filter with specification given below, 1p= 0.35, 1s= 0.4, Rp= 0.7dB 2s= 0.7, 2p= 0.75, As = 58dB Please create a linear phase FIR filter Type-1 by using Kaiser windowing.Please explain why Types 2, 3, 4 are not suitable?. Try to find the filter with as fewest length as possible. Sub-plot h(n) and |H(ej)| dB of your final design. Based on the created linear-phase FIR band-stop filter, we are to filter a signal x(n) of length 1024 that contains three frequencies: x(n) = cos0.18n + sin0.77n + cos0.53n, n = 0, 1, Subplot 256-point |X(ej)| and |Y(ej)| in dB, where y(n) = x(n)*h(n) (MatlabOk)