%
% Example 5.24 and Figure 5.7
%
num=[1 1]
den=[1 -1/6 -1/6]
ystep=dstep(num,den);
d=length(ystep)
k=0:1:d-1;
plot(k,ystep,'*')
xlabel('discrete time')
ylabel('step response')
grid
axis([0 12 0 3.5])
print -deps fig5_7.eps
