来源:学生作业帮 编辑:神马作文网作业帮 分类:综合作业 时间:2024/09/20 12:25:15
matlab:知道传递函数G,怎么画出阶跃响应?
例如:G=
-s + 2
-------------------------
s^3 + 17 s^2 + 80 s + 100
num=[-1 2];
den=[1 17 80 100];
t=0:0.02:2;
c=step(num,den,t);
plot(t,c); grid;
xlabel('t--sec'),ylabel('c(t)');