## I havea trouble plotting the Frequency response of a fourier transform

on 19 Nov 2012

### Matt J (view profile)

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.

## Products

### Matt J (view profile)

on 19 Nov 2012

Use the PLOT command

Tariq

### Tariq (view profile)

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

### Matt J (view profile)

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])
```
Tariq

### Tariq (view profile)

on 19 Nov 2012

Thanks, it works fine.

#### Join the 15-year community celebration.

Play games and win prizes!

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