Asked by SACHIN DEVASSY
on 30 Sep 2013

Hi, I would like to get bode plot from FFT data. How do I convert the data obtained(complex values) so that it can be used by the 'bode' function in matlab.

Thanking you.

Answer by Arkadiy Turevskiy
on 30 Sep 2013

You need to create an frd object.

here is example code from doc page.

% generate a frequency vector and response data freq = logspace(1,2); resp = .05*(freq).*exp(i*2*freq); % Create a FRD model sys = frd(resp,freq);

Now simply do

bode(sys)

SACHIN DEVASSY
on 1 Oct 2013

Arkadiy Turevskiy
on 1 Oct 2013

Opportunities for recent engineering grads.

## 0 Comments