📄 rlocuspoly.m
字号:
num=input('"input num,eg:[0 0 1]:"');
den=input('"input den,eg:[1 2 3]:"');
G=tf(num,den)
rlocus(G);
grid on;
hold on;
disp('"the roots of den "');roots(den)
[mag,pha,w]=bode(G);
[gm,pm,wgc,wpc]=margin(mag,pha,w);
disp('"the value of [Wc,Gama]"');[wpc,pm]
k=rlocfind(G);
disp('the value of K');k
disp('Compare in one graph.input"hold on"');
disp('Get the value of K,input "zoom on"and "rlocfind(G)"');
disp('Get asymptote;input "rlocasymp"');
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -