Step Response of Transfer Function
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Ainars Cernavskis
am 20 Jan. 2022
Kommentiert: Rena Berman
am 27 Nov. 2023
Hello so am trying to plot the step response of this trasnsfer function , but am not really sure how do i need to write it down in den = part , any help would be great thanks. .
t=0:0.01:5;
num = 1;
den = [1 2 17];
sys = tf(num, den);
y = step(sys,t);
plot(t,y*4)
2 Kommentare
Sam Chak
am 23 Nov. 2023
The original question may be beneficial to people who wish to learn how to plot the step response.
Akzeptierte Antwort
Yongjian Feng
am 20 Jan. 2022
Bearbeitet: Yongjian Feng
am 20 Jan. 2022
Get help by doing:
help tf
Basically, you need to expand the denominator given in image into polynomial of s. Then take the coefficients and put into den. For example, if you expand it into 2*s^2+5*s+10, then den = [2 5 10].
To expand the denominator, you can do it manually or you can use the expand function of matlab.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Data Extraction 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!