Need assistance for Bode Plotting

8 views (last 30 days)
Huy Truong Quang
Huy Truong Quang on 15 Jun 2020
Hello everyone, Im having one problem with constructing the Bode plot from measured data. I have a data set of 2000 samples of input. Sampling time is 100ms. For each input comes along 1 output. I need to draw the bode plot but as far as i know, bode plot is in the frequecy domain. After doing some research i know that the FFT function can convert my data from the time domain to the frequency domain, and then i can use "ABS" and "ANGLE" command to get the magnitude and phase (please correct me if i'm wrong), but these two data are plot against the frequency, then how can i get the frequency ? Is it the invert of time ? (Like at the 250th time, the frequency is 1/(250.10^-3) Hz ?) .I'm using Matlab R2014a. Thank you in advance.

Answers (0)

Community Treasure Hunt

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

Start Hunting!