%
% Macro to test crlocus.m
% (c) Marc Bodson, June 18, 2020
% The test macro produces the complex root-locus plot of control law #4
% in the paper:
% Marc Bodson, "Design of controllers in the complex domain,"
% Proc of the IEEE Conference on Decision and Control, Los Angeles, 2014,
% pp. 4077-4082
%
num=[0 49.7373-74.6060i 2.6793e+04+1.0568e+04i 1.5855e+06+1.0570e+06i];
den=[1 2.9133e+02+3.1400e+02i 3.0468e+02+1.4098e+04i 0];
gmax=100;npt=5000;
crlocus
axis([-300 50 -400 400])