User`s guide

Variable Integer Delay
5-500
sequence, the second sample in the current output frame is the input sample
v(2) intervals earlier in the sequence, and so on.
The illustration below shows how this works for an input with a sample period
of 1 and frame size of 4. The
Maximum delay (Dmax) is 5, and the Initial
conditions
parameter is set to -1. The delay input changes from [1305] to
[2002] after the second input frame. Note that the samples in each output
frame are the values in memory indexed by the elements of
v.
y(1) = U(v(1)+1)
y(2) = U(v(2)+1)
y(3) = U(v(3)+1)
y(4) = U(v(4)+1)
The Initial conditions parameter specifies the values in the block’s memory at
the start of the simulation. Both fixed and time-varying initial conditions can
be specified.
Simulation time
Delay (v) Out
Memory (U)
5
6
7
8
In
(t=0)
9
10
11
12
13
14
15
16
1
2
3
4
1
3
0
5
2
0
0
2
2
0
0
2
1
3
0
5
(t=4)
(t=8)
(t=12)
4
3
7
3
7
10
11
10
11
14
15
14
1
1
3
1
U(2)
U(4)
U(1)
U(6)
U(2)
U(4)
U(1)
U(6)
U(3)
U(1)
U(1)
U(3)
U(3)
U(1)
U(1)
U(3)
[ 1 -1 -1 -1 -1 -1]
[ 3 2 1 -1 -1 -1]
[2 1-1-1-1-1]
[4 3 2 1-1-1]
[54321-1]
[654321]
[765432]
[876543]
[987654]
[10 9 8 7 6 5]
[11109876]
[12 11 10 9 8 7]
[13 12 11 10 9 8]
[14 13 12 11 10 9]
[15 14 13 12 11 10]
[16 15 14 13 12 11]