fig5_30b.m
来自「包含了控制理论的各种仿真程序」· M 代码 · 共 18 行
M
18 行
% Fig. 5.30b Feedback Control of Dynamic Systems, 4e
% Franklin, Powell, Emami
%script for Figure 5.30b
n=[1 5.4];
d=[1 1 0];
% the lead pole at -20 is omitted to allow greater
% accuracy for very small values of s
nc=[1 .03];
dc=[1 .01];
nol=conv([ 0 n],nc);
dol=conv(d,dc);
rlocus(nol,dol);
title('Fig.5.30b Root locus showing lag branch')
axis([-.2 .2 -.15 .15])
z=0:.1:.9;
wn=2:2:19;
sgrid(z, wn)
hold off
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?