fig8_16.m

来自「包含了控制理论的各种仿真程序」· M 代码 · 共 35 行

M
35
字号
% Fig. 8.16   Feedback Control of Dynamic Systems, 4e 
%             Franklin, Powell, Emami
%

clear all;
close all;

% z-plane locus

numGz=[1 1];
denGz=[1 -2 1];  

K1 = 0:.2:8;  % break-in point is at K = 8
K2 = 100;
K = [K1 K2];
r=rlocus(numGz,denGz,K);
plot(r,'-'),grid
axis('square')
axis([-4 2 -3 3])
hold on
plot(1,.01,'x')
plot(1,-.01,'x')
plot(-1,0,'o')
title('Fig. 8.16  z-plane locus for 1/s^2 plant')
xlabel('Re(s)')
ylabel('Im(s)')

% now put in unit circle

th=0:.1:2.1*pi;
xc=cos(th);
yc=sin(th);
plot(xc,yc,'r--')
hold off

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?