% Chapter 10: Figure 10.36
%
%   Rotor winder control compensated system step response 
%   with lag controller
%
%              100(s+0.1) 
%     Gc(s) = -----------  . 
%                s+0.01 
%
hold off
K=100; 
numg=[1]; deng=[1 15 50 0]; sysg=tf(numg,deng);
numgc=K*[1 0.1]; dengc=[1 0.01]; sysgc=tf(numgc,dengc);
syso=series(sysgc,sysg);
sys=feedback(syso,[1]);
step(sys)