You are on page 1of 4

Hd=tf([2 , -2.3 , 0.5 , 0] , [1 , -2.3 , 1.7 , -0.

4])
figure(2)
step(Hd)
Z=roots([2 , -2.3 , 0.5 , 0])
P=roots([1 , -2.3 , 1.7 , -0.4])
K=2
Te=0.1
Hd1=zpk( Z ,P , K ,Te)
figure(3)
step(Hd1)
figure(4)
pzmap(Hd)
[A,B]=pzmap(Hd)
C=zero(Hd)
D=pole(Hd)

Hd =

2 s^3 - 2.3 s^2 + 0.5 s


---------------------------
s^3 - 2.3 s^2 + 1.7 s - 0.4

Continuous-time transfer function.

Z =

0
0.8589
0.2911

P =

1.0000
0.8000
0.5000

K =

Te =

0.1000

Hd1 =

2 z (z-0.8589) (z-0.2911)

1
-------------------------
(z-1) (z-0.8) (z-0.5)

Sample time: 0.1 seconds


Discrete-time zero/pole/gain model.

A =

1.0000
0.8000
0.5000

B =

0
0.8589
0.2911

C =

0
0.8589
0.2911

D =

1.0000
0.8000
0.5000

2
3
Published with MATLAB® R2015a

You might also like