[adsense:responsibe:9545213979]
s=%s; g=1/(s*(s+1)*(0.5*s+1)); gc=5*(21.74*s+1)/(236*s+1); gc2=5*(10*s+1)/(100*s+1); gt=g /. 1; gt2=g*gc /. 1; gt3=g*gc2 /. 1;
gs=syslin('c',gt); gts=syslin('c',gt2); gts2=syslin('c',gt3); clf; t=0:0.02:40; y=csim('step',t,gs); yt=csim('step',t,gts); yt2=csim('step',t,gts2); plot(t,y,'k'); plot(t,yt,'g');
Añadir nuevo comentario