% 
 tic
 s=tf('s');
 j=0;
 for i=0.01:0.001:10
 j=j+1;
sys=((exp(-i*s))/((s+1)));

 
pidtune(sys,'pid')
b(j,1)=i;
b(j,2)=ans.Kp;
b(j,3)=ans.Ki;
b(j,4)=ans.Kd;
 end
toc
