Info

This question is closed. Reopen it to edit or answer.

Please help me! HW in DSP asap

1 view (last 30 days)
Neo
Neo on 22 Sep 2012
1. (30 points) A differentiator takes the derivative of a signal. An ideal differentiator has a frequency response that is linearly proportional to frequency. The frequency response of the ideal differentiator is specified as H[w] = jw -pi <= w <= pi. Determine the unit-impulse response of the ideal differentiator.
2. (20 points) Evaluate the unit-impulse response of the ideal differentiator at n = [-5,5]. Plot the magnitude response and phase response of the differentiator. Show the Matlab code you used.
3. (20 points) Apply a von Hann window on the unit-impulse response of the ideal ideal differentiator. Evaluate the windowed impulse response at n =[-5,5]. Plot the magnitude response and phase response of the differentiator. Show the Matlab code you used. Describe the difference between the truncated and windowed frequency responses.
4. (30 points) A notch filter is a narrow bandstop filter. Design a notch filter by pole-zero
placement method with the following specifications
Notch frequency 50 Hz
3 dB width of notch 10 Hz (  5Hz )
Sampling frequency 500 Hz
Plot the magnitude response of the notch filter. Show the Matlab code you used.
Hints:
Place the zeroes on the unit-circle located at 50 Hz. Place the poles on the same frequency as the zeroes but inside the unit-circle. The radius of the poles at 3dB can be approximated by the relationship r= 1 - ((delta w)/2).
  2 Comments
Walter Roberson
Walter Roberson on 22 Sep 2012
You need to ask specific questions, and you need to show your attempts.
We are not going to just give you the code, but if you show your code and the error messages you get, we will (likely) help you debug it.
Note that this forum is not for theory questions: if you do not understand the theory of what you are doing, you should read about it elsewhere. This forum is for MATLAB questions, such as "why am I getting an error about index out of range?"

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!