User`s guide
Delay Line
5-125
In the model below, the block operates on a sample-based input with a Delay
line size
of 3.
The input vectors in the example above do not begin appearing at the output
until the second row of the second matrix due to the block’s latency (see “Initial
Conditions” below). The first output matrix (all zeros in this example) reflects
the block’s
Initial conditions setting. As for any sample-based input, the
output frame rate and output sample rate are both equal to the input sample
rate.
Frame-Based Operation
In frame-based operation, the Delay Line block rebuffers a sequence of
frame-based M
i
-by-N matrix inputs into a sequence of frame-based M
o
-by-N
matrix outputs, where M
o
is the output frame size specified by the Delay line
size
parameter. Depending on whether M
o
is greater than, less than, or equal
to the input frame size, M
i
, the output frames can be underlapped or
overlapped. Each of the N input channels is rebuffered independently.
When M
o
>M
i
, the output frame overlap is the difference between the output
and input frame size, M
o
-M
i
. When M
o
<M
i
, the output is underlapped; the
Delay Line block discards the first M
i
-M
o
samples of each input frame so that
only the last M
o
samples are buffered into the corresponding output frame.
615 6–
t=0
t=2
t=5
t=4
t=3
t=1
first
frame-based
output
T
si
= 1
515 5–
305 3–
405 4–
215 2–
115 1–
(M
o
=3)
0000
0000
0000
first sample-based
input
t=0t=2t=3 t=1
ch4
ch3
ch1
ch2
ch4
ch3
ch2
ch1
Sample-based input,
sample period = T
si
Frame-based output,
sample period = T
si
ch4
ch3
ch2
ch1
ch4
ch3
ch2
ch1
0000
0000
115 1–
0000
115 1–
215 2–
115 1–
215 2–
305 3–
T
so
= 1