User`s guide
Sample Rates and Frame Rates
3-25
However, this is only true when the original signal is preserved in the buffering
operation, with no samples added or deleted. Buffering operations that
generate overlapping frames, or that only partially unbuffer frames, alter the
data sequence by adding or deleting samples. In such cases, the above relation
is not valid.
Buffering Blocks. The following table lists the principal buffering blocks in the
DSP Blockset.
The following sections discuss two general classes of buffering operations:
•“Buffering with Preservation of the Signal”
•“Buffering with Alteration of the Signal”
Buffering with Preservation of the Signal. There are various reasons that you may
need to rebuffer a signal to a new frame size at some point in a model. For
example, your data acquisition hardware may internally buffer the sampled
signal to a frame size that is not optimal for the DSP algorithm in the model.
In this case, you would want to rebuffer the signal to a frame size more
appropriate for the intended operations, but without introducing any change to
the data or sample rate.
There are two blocks in the Buffers library that can be used to change a signal’s
frame size without altering the signal itself:
•Buffer – redistributes signal samples to a larger or smaller frame size
•Unbuffer – unbuffers a frame-based signal to a sample-based signal (frame
size = 1)
Block Library
Buffer Signal Management / Buffers
Delay Line Signal Management / Buffers
Unbuffer Signal Management / Buffers
Variable Selector Signal Management / Indexing
Zero Pad Signal Operations