05 May 1998
Nonlinear algorithm for controlling dynamical systems, particularly where linear methods fail.
%DELSIG2 Create delayed signal matrix from signal matrix and delay vector.
% X - SxT matrix with S-element column vectors for T timesteps.
% D = [d1 d2 ... dn] - vector of delays.
% Returns signal X delayed by d1, ..., and dn timesteps
% and shorter than X by max(D).
% By Valery Petrov, CNLD 9-11-96
% Copyright (c) 1996-1998 The University of Texas at Austin
[xr,xc] = size(x);
error('Not enough rows in x, for selected delay matrix !')
y = zeros(xr*(d2),xc-max(D));
y((1:xr)+xr*(i-1),:) = x(:,(max(D)-D(i)+1):(xc-D(i)));