User`s guide
Integer Delay
5-241
5Integer Delay
Purpose Delay an input by an integer number of sample periods.
Library Signal Operations
Description The Integer Delay block delays a discrete-time input by the number of sample
intervals specified in the
Delay parameter. Noninteger delay values are
rounded to the nearest integer, and negative delays are clipped at 0.
Sample-Based Operation
When the input is a sample-based M-by-N matrix, the block treats each of the
M
∗N matrix elements as an independent channel. The Delay parameter, v, can
be an M-by-N matrix of positive integers that specifies the number of sample
intervals to delay each channel of the input, or a scalar integer by which to
equally delay all channels.
For example, if the input is M-by-1 and v is the matrix
[v(1) v(2) ... v(M)]', the first channel is delayed by v(1) sample intervals,
the second channel is delayed by
v(2) sample intervals, and so on. Note that
when a channel is delayed for sample-time units, the output sample at time
is the input sample at time . If is negative, then the output is the
corresponding value specified by the
Initial conditions parameter.
A 1-D vector of length M is treated as an M-by-1 matrix, and the output is 1-D.
The
Initial conditions parameter specifies the output of the block during the
initial delay in each channel. The initial delay for a particular channel is the
time elapsed from the start of the simulation until the first input in that
channel is propagated to the output. Both fixed and time-varying initial
conditions can be specified in a variety of ways to suit the dimensions of the
input.
Fixed Initial Conditions. A fixed initial condition in sample-based mode can be
specified as one of the following:
•Scalar value to be repeated at each sample time of the initial delay (for every
channel). For a 2-by-2 input with the parameter settings below,
∆
tt∆– t ∆–