MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn moreOpportunities for recent engineering grads.

Apply Today
Asked by Tariq on 19 Nov 2012

Dear All, Please guide me that how can I plot the frequency response from the Fourier transform of impulse response. I estimated the impulse response from the sensor. I took the fourier transform of the impulse response. Now I want to see the frequency response. I should be very greatful if somebody help me in this regard.

Thanks in advance

Answer by Matt J on 19 Nov 2012

Accepted answer

Use the PLOT command

Show 2 older comments

Tariq on 19 Nov 2012

The evaluated answer is look like this: H(f)=j*8*PI*tau*f/(1+4*PI^2*tau^2*f^2)^2 Now I don't know how to plot amplitude frequency response. Does it make sense?

Matt J on 19 Nov 2012

Here's an alternative using FPLOT,

H= @(f) abs(j*8*pi*tau*f/(1+4*pi^2*tau^2*f^2)^2);

fplot(H,[-3,3])

## 0 Comments