y|[gۑiWj𓚗z

 

1D

(1)

> g1=tf([3 1],[2 0 -1 10]);

 

(2)

> g2=zpk([-1 -2],[-5 2 3],0.5);

 

2D

(1)

vO

> sys1=series(g1,g2)

 

            1.5 s^3 + 5 s^2 + 4.5 s + 1

  ----------------------------------------------

  2 s^6 - 39 s^4 + 70 s^3 + 19 s^2 - 220 s + 300

 

(2)

vO

> sys2=parallel(g1,g2);

 

   s^5 + 6 s^4 + 2.5 s^3 - 53.5 s^2 + 85 s + 40

  ----------------------------------------------

  2 s^6 - 39 s^4 + 70 s^3 + 19 s^2 - 220 s + 300

 

(3)

vO

> sys3=parallel(g1,-g2);

 

      -s^5 - 0.5 s^3 - 60.5 s^2 + 57 s + 20

  ----------------------------------------------

  2 s^6 - 39 s^4 + 70 s^3 + 19 s^2 - 220 s + 300

 

(4)

vO

> sys4=feedback(g1,g2);

 

           3 s^4 + s^3 - 57 s^2 + 71 s + 30

  --------------------------------------------------

  2 s^6 - 39 s^4 + 71.5 s^3 + 24 s^2 - 215.5 s + 301