fig11_30.m
来自「现代控制系统(matlab程序)」· M 代码 · 共 14 行
M
14 行
% Chapter 11: Figure 11.30, p. 673%% Step response for the automatic test system% with K=240, K1=1, K2=0.35, and K3=0.05.%K=240; K1=1; K2=0.35; K3=0.05;t=[0:0.01:3];A=[0 1 0;0 -1 1; -K*K1 -K*K2 -(5+K*K3)];B=[0;0;K]; C=[1 0 0]; D=[0];[y,x]=step(A,B,C,D,1,t);plot(t,y),gridxlabel('time [sec]')ylabel('y(t)')
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?