sample+final+with+solutions

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

• Test Prep
• 2
• 100% (3) 3 out of 3 people found this document helpful

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

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.

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

This is the end of the preview. Sign up to access the rest of the document.
• Winter '08
• Swindlehurst,A
• Digital Signal Processing, Band-pass filter, Low-pass filter, Finite impulse response, ideal frequency response

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern