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

Réponses (2)

Arkadiy Turevskiy
Arkadiy Turevskiy le 12 Fév 2015

0 votes

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 commentaire

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

Connectez-vous pour commenter.

Victor Tibanlombo
Victor Tibanlombo le 27 Fév 2018

0 votes

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

Community Treasure Hunt

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

Start Hunting!

Translated by