![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1550847/image.png)
Step Response of Transfer Function
6 次查看(过去 30 天)
显示 更早的评论
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. .![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1553692/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1553692/image.png)
t=0:0.01:5;
num = 1;
den = [1 2 17];
sys = tf(num, den);
y = step(sys,t);
plot(t,y*4)
2 个评论
Sam Chak
2023-11-23
The original question may be beneficial to people who wish to learn how to plot the step response.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1550847/image.png)
采纳的回答
Yongjian Feng
2022-1-20
编辑:Yongjian Feng
2022-1-20
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Extraction 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!