How to draw bode diagram with measured data?

i get sampling data of motor's input x(t)[current] and output y(t)[position] with length [1x90000], sample frequency 2000.
But i don't know how to get the bode digram of the transfer function in frequncy domain(Y(s)/X(s)).[the plot with magnitude in y-axis(dB), frequency in x-axis(10^n)]
And also the angle of the transfer function.
if true
% code
end

Answers (2)

There are a couple of options: you can use System Identification Toolbox, see here . Another option is tfestimate from Signal Processing Toolbox.
Lastly, you can compute FFTs on your own.

1 Comment

Hi Arkadiy. Would you please give me an example for sketching Bode diagram via FFT computation. Cheers

Sign in to comment.

Sorry; Could you solve your question? about: How to draw bode diagram with measured data? because i have the same question and I do not know how to graph the bode diagram via FFT computation.
Cheers

Categories

Asked:

on 15 Jan 2015

Answered:

on 27 Feb 2018

Community Treasure Hunt

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

Start Hunting!