You are on page 1of 1

2/25/19 6:51 PM MATLAB Command Window 1 of 1

>> h1= (5*(s+15)*(s+26)*(s+72))/(s*(s+55)*(s+5*s+30)*(s+56)*(s^2+27*s+52))

h1 =

5 s^3 + 565 s^2 + 16710 s + 140400


--------------------------------------------------------------------
6 s^6 + 858 s^5 + 40914 s^4 + 717462 s^3 + 3.629e06 s^2 + 4.805e06 s

Continuous-time transfer function.

>> G=zpk(numg,deng,K)
Undefined function or variable 'numg'.

>> numg=z
Undefined function or variable 'z'.

>> numg=[-15, -26, -72]

numg =

-15 -26 -72

>> deng = [0,-55,-2.5i,2.5i,-2.0873,-24.913]

deng =

Columns 1 through 3

0.0000 + 0.0000i -55.0000 + 0.0000i 0.0000 - 2.5000i

Columns 4 through 6

0.0000 + 2.5000i -2.0873 + 0.0000i -24.9130 + 0.0000i

>> K=5

K =

>> G=zpk(numg,deng,K)

G =

5 (s+15) (s+26) (s+72)


-----------------------------------------
s (s+55) (s+24.91) (s+2.087) (s^2 + 6.25)

Continuous-time zero/pole/gain model.

>>

You might also like