Download DSP Blockset User`s Guide

Transcript
Partial Unbuffer
Purpose
4Partial Unbuffer
Library
Buffers, in General DSP
Description
The Partial Unbuffer block unbuffers a selected portion of the input frame into
a sequence of scalar outputs. Multichannel (frame matrix) inputs are
unbuffered into sample vectors, with the designated matrix rows being output
in sequence. The sample-based output generally has a faster rate than the
frame-based input.
Unbuffer a portion of an input frame to a sequence of scalar outputs.
“slow-time” input
(frame size = 3, frame period = 3∗Tsi)
7
8
9
4
5
6
1
2
3
“fast-time” output
(frame size = 1, sample period = 3/2∗Tsi)
8
7
5
4
2
1
samples deleted
Because the block unbuffers only a portion of the samples in each input frame,
the sequence sample period (i.e., the sample-to-sample interval) at the output
is longer than that at the input, Tso>Tsi.
Vector Inputs. Vector inputs are unbuffered to a scalar sequence. The scalar
output sample period for an input of frame size Mi is a factor of Mi/(M2-M1+1)
longer than the input sample period, or
M i T si
T so = -------------------------------M2 – M1 + 1
where M1 is specified by the First output index parameter and M2 and is
specified by the Last output index parameter.
4-256