XML
Laplace.T Root-locus Transient response Frecuency response
       
 
 
 

20 Problem A.5.16 Ogata 4edition (Response to function)



    Let's plot the response of close-loop system to input $\frac{1}{2}\cdot t^{2}$ with following open-loop transference function:

    \begin{displaymath}\frac{G(s)}{E(s)}=\frac{s}{s\cdot(s+1)}\end{displaymath}



    Program in Scilab:
    s=%s;
    
    num=2;
    
    den=s*(s+1);
    
    gr=syslin('c',num/den);
    
    cr=gr/. 1;
    
    t=0:0.01:10;
    
    r1=(1/2)*t^2;
    
    c1=csim(r1,t,cr);
    
    clf;
    
    plot2d(t,c1,2);
    
    plot2d(t,r1,3);
    
    xtitle('Close-loop system response to input r(t)=(1/2*t^2) ','t(seg)','Amplitude');
    
    legends(['Input','Output'],[3,2],opt=4)
    
    xgrid;
    
    
    Image ProblemaA5_16