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

Risposte (2)

Arkadiy Turevskiy
Arkadiy Turevskiy il 12 Feb 2015
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 Commento

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

Accedi per commentare.

Victor Tibanlombo
Victor Tibanlombo il 27 Feb 2018
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

Categorie

Richiesto:

il 15 Gen 2015

Risposto:

il 27 Feb 2018

Community Treasure Hunt

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

Start Hunting!

Translated by