?? ex2_30.m
字號:
% ex2_30
% 前饋-反饋控制系統(tǒng)的連接
n1=1; d1=1; s1=tf(n1,d1);
n2=1.7*[0.5 1]; d2=[0.5 0]; s2=tf(n2,d2);
n3=1.6; d3=[1 3 2]; s3=tf(n3,d3);
n4=0.8; d4=[3 1]; s4=tf(n4,d4);
n5=0.5*[1 2]; d5=[3 1]; s5=tf(n5,d5);
n6=1; d6=1; s6=tf(n6,d6);
n7=1; d7=1; s7=tf(n7,d7);
sys=append(s1,s2,s3,s4,s5,s6,s7);
q=[1 0 0;2 7 -6;3 2 -5;4 1 0;5 1 0;6 4 3;7 0 0];
sysc1=connect(sys,q,1,6);
sysc2=connect(sys,q,7,6);
G1=tf(sysc1),
G2=tf(sysc2),
figure('pos',[20,50,300,380],'color','w');
axes('pos',[.15,.11,.75,.37],'color','k');
step(G1,12);
grid;
set(gca,'fontw','bold','fonts',10);
axes('pos',[.15,.6,.75,.37],'color','k');
step(G2,12);
grid;
set(gca,'fontw','bold','fonts',10);
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -