6 Problem A2.16 OGATA 4ed (transfer function, poles and zeros)

Given the poles, zeros and gains are going to calculate the transfer function using Scilab in the following cases:



  1. Gain K = 10, poles: -1 +2j and -1-2j.




    Program in Scilab
    num=10;
    den=poly([-1-2*%i -1+2*%i],'s');
    g=syslin('c',num/den)
    
    Solution:
     g  =
     
                    
           10       
       -----------  
                 2  
       5 + 2s + s
    
    
  2. Gain 10. Zero in 0. Poles in -1+2j and -1-2j.


    Program in Scilab
    num=10*poly(0,'s');
    den=poly([-1-2*%i -1+2*%i],'s');
    g=syslin('c',num/den)
    
    Solution:
    g  =
     
                    
          10s       
       -----------  
                 2  
       5 + 2s + s

  3. Gain 12. Zero in -1. Poles in -2, -4 y -8.


    Program in Scilab
    num=12*poly(-1,'s');
    den=poly([-2 -4 -8],'s');
    g=syslin('c',num/den)
    
    Solution:
    g  =
     
             12 + 12s        
        ------------------   
                      2   3  
        64 + 56s + 14s + s