Processing Data by Blocks In most efficient implementations we process data by blocks, rather than one sample at a time. Real Time simulation and design software such as Simulink are designed to take advantages of block processing for two purposes: efficient computations, thus faster simulations; efficient design.
“Sample Based” and “Frame Based” Signals time They are MN distinct signals arranged in a matrix Particular Case: is like M distinct signals
“Sample Based” and “Frame Based” Signals They are N distinct signals, each one represented as a sequence of frames of length M Particular Case: one signal as a sequence of frames of length M
Convert “to Sample” and “to Frame” Example: y0= Frame based y1= Sample based y2=y0= Frame based
Serial to Parallel (Buffer)
Serial to Parallel in Simulink Serial to Parallel is implemented by the “Buffer” Simulink block in Signal Processing Blcokset > Signal Management > Buffers: S/P Sample based Frame based
Example of Downsampling
Parallel to Serial (Unbuffer or Interlacer)
Parallel to Serial in Simulink Parallel to Serial is implemented by the “UnBuffer” Simulink block in Signal Processing Blcokset > Signal Management > Buffers: P/S Frame based Sample based
Example of Upsampling
Simulink Implementation N channel to N channel IFFT: Frame Sample Sample Sample based Sample based
M channel Parallel to Serial with Unbuffer:
Everything sample based Simulink Implementation N channel to N channel FFT: Everything sample based
M channel Serial to Parallel with Buffer: