How to draw bode diagram with measured data?

5 views (last 30 days)
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)

Arkadiy Turevskiy
Arkadiy Turevskiy on 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 Comment
Mehdi Ghasem Moghadam
Mehdi Ghasem Moghadam on 20 Apr 2017
Hi Arkadiy. Would you please give me an example for sketching Bode diagram via FFT computation. Cheers

Sign in to comment.


Victor Tibanlombo
Victor Tibanlombo on 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

Categories

Find more on Get Started with Control System Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!