DSP Blockset Previous page   Next Page

Frame-Based Operations

Most real-time DSP systems optimize throughput rates by processing data in "batch" or "frame-based" mode. A batch or frame is a collection of consecutive signal samples that have been buffered into a single unit. By propagating these multisample frames instead of the individual signal samples, the DSP system can best take advantage of the speed of DSP algorithm execution, while simultaneously reducing the demands placed on the data acquisition (DAQ) hardware.

For an example of frame-based operations, open the LPC Analysis and Synthesis of Speech demo (dsplpc). To run this demo, from the Simulation menu, select Start. The wide double lines that connect the blocks indicate that a frame-based signal is the input to this system. This frame-based signal is used for computation throughout the model.

The DSP Blockset delivers the same high level of performance for both simulation and code generation by incorporating frame-processing capability into all of its blocks. A completely frame-based model can run several times faster than the same model processing sample-by-sample; faster still if data sources are frame based.

See Sample Rates and Frame Rates for more information.


Previous page  Features of the DSP Blockset Matrix Support Next page

Learn more about the latest releases of MathWorks products:

 © 1994-2009 The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS