How to make a bode plot from a transfer function

조회 수: 41 (최근 30일)
Uzair Akhtar
Uzair Akhtar 2020년 4월 9일
댓글: Star Strider 2020년 4월 9일
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?

채택된 답변

Star Strider
Star Strider 2020년 4월 9일
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
Uzair Akhtar
Uzair Akhtar 2020년 4월 9일
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 2020년 4월 9일
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.

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

추가 답변 (0개)

카테고리

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