XML
Laplace.T Root-locus Transient response Frecuency response
       
 
 
 

19 Problem A.5.15 Ogata 4edition (Response to function)



    Let's plot the response to input $2+t$ by Scilab:

    \begin{displaymath}\frac{C(s)}{R(s)}=\frac{5}{(s^{2}+s+5)}\end{displaymath}



    Program in Scilab:
    s=%s;
    
    num=5;
    
    den=s^2+s+5;
    
    cr=syslin('c',num/den);
    
    t=0:0.01:10;
    
    r1=2+t;
    
    c1=csim(r1,t,cr);
    
    clf;
    
    plot2d(t,c1,2);
    
    plot2d(t,r1,3);
    
    xtitle('Response to input r(t)=2+t','t(seg)','Amplitude');
    
    legends(['Input','Output'],[3,2],opt=4)
    
    xgrid;
    
    

    Image ProblemaA5_15