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

조회 수: 3 (최근 30일)
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
Mathieu NOE
Mathieu NOE 2021년 3월 9일
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

댓글을 달려면 로그인하십시오.

답변 (1개)

Paul
Paul 2021년 3월 9일
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.

카테고리

Help CenterFile Exchange에서 Time and Frequency Domain Analysis에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by