Given the transfer function,
![]() |
>> num=[1 0 2]
num =
1 0 2
>> den=[1 3 -0.5]
den =
1.0000 3.0000 -0.5000
>> sys=tf(num,den,-1)
Transfer function:
z^2 + 2
---------------
z^2 + 3 z - 0.5
Sampling time: unspecified
Note that while entering the data for the numerator, we had to specifically put zero as the coefficient for