How to make a bode plot from a transfer function

141 Ansichten (letzte 30 Tage)
Uzair Akhtar
Uzair Akhtar am 9 Apr. 2020
Kommentiert: Star Strider am 9 Apr. 2020
Hi how would I make a blode plot from this transfer function?
Gp(s) = (10e^-0.25S)/((1+1.2S)(1+3.5S))
is this the correct code in Matlab?

Akzeptierte Antwort

Star Strider
Star Strider am 9 Apr. 2020
Yes.
The code you posted:
s = tf('s');
g = 10*exp(-0.25*s)/((1+1.2*s)*(1+3.5*s))
figure
bode(g)
grid
should work.
Are you having problems with it?
  4 Kommentare
Uzair Akhtar
Uzair Akhtar am 9 Apr. 2020
Thank you really appreciate your help.
Im quite new to Matlab so I just wanted to confirm if I entered this transfer function correctly in the matlab code I sent in the previous message.
Thanks again.
Star Strider
Star Strider am 9 Apr. 2020
As always, my pleasure!
It looks correct to me. Note that the exponential term is an output delay that primarily affects the phase of the Bode plot.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Plot Customization finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by