2 Program 5.4 Ogata 4edition (response to unit-step input) Let us draw the response to unit-step input by Scilab Program in Scilab: num=poly([25 0 0 ],'s','coeff'); den=poly([25 4 1],'s','coeff'); g=syslin('c',num/den); t=0:0.005:3; gs=csim('step',t,g); clf; plot2d(t,gs); xgrid; xtitle('Response to unit-step,G(s)=25/(s^2+4s+25)' ,'Time(seg)','Amplitude')
Let us draw the response to unit-step input by Scilab
Program in Scilab:
num=poly([25 0 0 ],'s','coeff'); den=poly([25 4 1],'s','coeff'); g=syslin('c',num/den); t=0:0.005:3; gs=csim('step',t,g); clf; plot2d(t,gs); xgrid; xtitle('Response to unit-step,G(s)=25/(s^2+4s+25)' ,'Time(seg)','Amplitude')