5 Programa 5.8 Ogata 4edition (response to unit-impulse input) Let us draw the response to unit-impulse input by Scilab. Program in Scilab num=poly([1 0 0],'s','coeff'); den=poly([1 0.2 1],'s','coeff'); t=0:0.1:70; g=syslin('c',num/den); gs=csim('impulse',t,g); clf; plot2d(t,gs); xgrid; xtitle('response to unit-impulse G(s) =1/(s^2+0.2s+1)','t(seg)','Output');
num=poly([1 0 0],'s','coeff'); den=poly([1 0.2 1],'s','coeff'); t=0:0.1:70; g=syslin('c',num/den); gs=csim('impulse',t,g); clf; plot2d(t,gs); xgrid; xtitle('response to unit-impulse G(s) =1/(s^2+0.2s+1)','t(seg)','Output');