Bytes to Tuple converter
Updated 1 Sep 2016
(Implemented using R2007b release)
The attached Simulink model shows how to implement a Byte To tuple converter (N bytes == M tuples of m bits).
The converter can be used in a DVB system to encode data bytes generated by interleaver into QAM symbols.
In the attached example bitsliceget and bitconcat functions are used in an Embedded MATLAB block to convert 204x8 (bytes) to 272x6 (tuples).
To prove that the block is functional the tuples are converted back to bytes and compared with original input to verify that no loss of data has occurred.
Ref: See notes on bytes to m tuple conversion block in a DVB system
Kiran Kintali (2023). Bytes to Tuple converter (https://www.mathworks.com/matlabcentral/fileexchange/16210-bytes-to-tuple-converter), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.