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

Info icon This 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.
Image of page 1

Info icon This 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 ]}

What students are saying

  • Left Quote Icon

    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.

    Student Picture

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

  • Left Quote Icon

    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.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    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.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern