170 likes | 342 Views
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:
E N D
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 Sample Based: time They are MN distinct signals arranged in a matrix Particular Case: is like M distinct signals
“Sample Based” and “Frame Based” Signals Frame Based: 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 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
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
Simulink Implementation N channel to N channel IFFT: Frame Sample Sample Sample based Sample based
Simulink Implementation N channel to N channel FFT: Everything sample based