Plotting a bode diagram without transfer function, using only magnitude and phase and frequency

29 views (last 30 days)
I have 15x specified frequencies and for each frequency I have the magnitude in dB and the phase. I don't have the transfer function but I am curious if its possible to plot a bode diagram using those data.
Phase is probably not completely correct because I calculated it using seconds not ms.
w = [0.01 0.02 0.05 0.1 0.2 0.5 1 2 5 10 20 50 100 200 500]
Mag = [11.1 12.4 11.2 10.3 9.7 8.7 7.1 4.8 2.5 1.6 0.7 0.17 0.08 0.02 0.003]
Mag(dB) = [20.9 21.9 21.1 20.2 19.8 18.8 16.9 13.7 7.9 4.4 -2.9 -15.4 -22.6 -34.3 -49.4]
Phase = [10.5 5.9 5.0 1.5 10.2 40.8 47.6 81.5 108 165.6 230.4 324 543.6 925.9 2008.8]
  1 Comment
Mathieu NOE
Mathieu NOE on 9 Mar 2021
hello
by definition, plotting a Bode diagram requires somehow to have frequency / magnitude and phase
As you have those data, you can surely plot them. You can also use it for feedback control - as soon as it involves only plotting the open loop and closed loop tf

Sign in to comment.

Answers (1)

Paul
Paul on 9 Mar 2021
You can use the data you have to make an frd model:
doc frd
Once you have the frd model you can make the bode plot using the bode() command as for any other dynamic system model.

Community Treasure Hunt

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

Start Hunting!