www.gusucode.com > MATLAB仿真技术与应用__的配套例题和习题的matlab源代码 > 第七章/example11.m

    %MATLAB program 7-11
%Draw the locus of roots
clear all;
clc;
num=[1 8];                                     %输入传递函数
den=conv([1 1],conv([1 3-2*i],[1 3+2i]));
G=tf(num,den);
Gzpk=zpk(G);
rlocus(G);
axis([-20 20],[-10 10]);