XML
Loading
Laplace.T Root-locus Transient response Frecuency response
       
 
 
 

8 Problem A8.4 OGATA 4ed (Bode plot)



    Let's plot Bode plot of the feedback close-loop system for the values $K=1,10,20$ by Scilab. The open-loop transfer function is:

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

    Scilab program
    clf;
    
    s=%s/(%pi*2);
    
    K=[1 10 20];
    
    for i=1:3,
    
    g(i)=K(i)/(s*(s+1)*(s+5));
    
    gc(i)=g(i)/. 1;
    
    gcs(i)=syslin('c',gc(i));
    
    end;
    
    bode([gcs(1);gcs(2);gcs(3)]
    ,0.1,100,['K=20';'K=10';'K=1']);
    

     

    Image ProblemaA8-4Pag592