MATLAB Program-To study robust control system using MATLAB:

 

Program:

 

%To study robust control system using MATLAB
ks=118;
a=16,b=70;
k=5;
k3=ks-2;
k1=a*(2+k3)-1;
k2=b*(2+k3);
numgc=k*[k3 k1 k2];
dengc=[1 0];
numg=[1];
deng=[1 2 1];
nums=conv(numgc,numg);
dens=conv(dengc,deng);
[num,den]=cloop(nums,dens);
step(num,den)
hold on         %Hold current graph in the figure
c0=10;
numg=[1];
deng=[1 2*c0 c0^2];
numgc=5*[118 1887 8280];
dengc=[1 0];
numa=conv(numg,numgc);
dena=conv(deng,dengc);
[num,den]=cloop(num,dena);
step(num,den)
hold off

 

Output:

 

 

robust control system

 

 

Click here to download all MATLAB program.. SEM 7 Advance control system Instrumentation