{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

sample+final+with+solutions

sample+final+with+solutions - EECS 152B CSE 135B DSP Design...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
EECS 152B – CSE 135B DSP Design & Lab Winter 2015 Final Exam (1) 30 points: (a) Write an expression for the impulse response of an ideal bandpass filter that passes signals between 4 kHz and 12 kHz, assuming a passband gain of 10dB and a sampling rate of 48 kHz. (b) Write a Matlab command that will use the Parks-McClellan algorithm to generate a 101-tap FIR filter that approximates the ideal frequency response from part (a). (c) Write a Matlab command that implements a 6 th -order elliptic IIR filter that approximately achieves the ideal frequency response from part (a). 10 points each for (a),(b),(c) (a) 4 kHz = π /6 12 kHz = π /2 midpoint is 8 kHz = π /3 expression for impulse response is given by: h[n] = 2*cos(n π /3)*sin(n π /6) / (n π ) (b) There are many possible answers, many possible choices for the corner frequencies, weights (if the students choose to use them), etc. One possible answer: >> h=firpm(100,[0 .1 1/6 1/2 .54 1],[0 0 1 1 0 0],[2 1 1]); Use of the 3-element weight vector is not necessary.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}