MATLAB Answers


I havea trouble plotting the Frequency response of a fourier transform

Asked by Tariq
on 19 Nov 2012
Accepted Answer by Matt J

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


1 Answer

Matt J
Answer by Matt J
on 19 Nov 2012
 Accepted answer

Use the PLOT command


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);
on 19 Nov 2012

Thanks, it works fine.

Discover MakerZone

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

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!