% Delay example

% Specify a delay of n_tau samples
n_tau=7;

% State space model for the delay as in Ch 7.2.1
At=diag(ones(n_tau-1,1),1);
Bt=zeros(n_tau,1); Bt(end)=1;
Dt=zeros(1,n_tau); Dt(1)=1;

dstep(At,Bt,Dt,0)