User`s guide

Buffer
5-41
5Buffer
Purpose Buffer the input sequence to a smaller or larger frame size.
Library Signal Management / Buffers
Description The Buffer block redistributes the input samples to a new frame size, larger or
smaller than the input frame size. Buffering to a larger frame size yields an
output with a slower frame rate than the input, as illustrated below for scalar
input.
Buffering to a smaller frame size yields an output with a faster frame rate than
the input, as illustrated below for scalar output.
The block coordinates the output frame size and frame rate of nonoverlapping
buffers so that the sample period of the signal is the same at both the input and
output, T
so
=T
si
.
Sample-Based Operation
Sample-based inputs are interpreted by the Buffer block as independent
channels of data. Thus, a sample-based length-N vector input is interpreted as
N independent samples.
In sample-based operation, the Buffer block creates frame-based outputs from
sample-based inputs. A sequence of sample-based length-N vector inputs (1-D,
2-D row, or 2-D column) is buffered into an M
o
-by-N matrix, where M
o
is
specified by the
Output buffer size parameter (M
o
> 1). That is, each input
vector becomes a row in the N-channel frame-based output matrix. When
f
ast-time” input “s
l
ow-time” output
(frame size = 1, sample period = T
si
) (frame size = 3, frame period = 3T
si
)
123456789
7
8
9
4
5
6
1
2
3
f
ast-time” output“s
l
ow-time” input
(frame size = 1, sample period = T
si
)(frame size = 3, frame period = 3T
si
)
123456789
7
8
9
4
5
6
1
2
3