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: unspecifiedNote that while entering the data for the numerator, we had to specifically put zero as the coefficient for . Also, in the function tf, if we don't have a specific sampling rate, you need to put a -1 as the last argument.