Communications System Toolbox

Source and Channel Coding

Communications System Toolbox provides source and channel coding capabilities that let you develop and evaluate communications architectures quickly, enabling you to explore what-if scenarios and avoid the need to create coding capabilities from scratch.

Source Coding

Source coding, also known as quantization or signal formatting, is a way of processing data in order to reduce redundancy or prepare it for later processing. The system toolbox provides a variety of types of algorithms for implementing source coding and decoding, including:

  • Quantizing
  • Companding (µ-law and A-law)
  • Differential pulse code modulation (DPCM)
  • Huffman coding
  • Arithmetic coding

Channel Coding

To combat the effects noise and channel corruption, the system toolbox provides block and convolutional coding and decoding techniques to implement error detection and correction. For simple error detection with no inherent correction, a cyclic redundancy check capability is also available. Channel coding capabilities provided by the system toolbox include:

  • BCH encoder and decoder
  • Reed-Solomon encoder and decoder
  • LDPC encoder and decoder
  • Convolutional encoder and Viterbi decoder
  • Orthogonal space-time block code (OSTBC) (encoder and decoder for MIMO channels)
  • Turbo encoder and decoder examples

The system toolbox provides utility functions for creating your own channel coding. You can create generator polynomials and coefficients and syndrome decoding tables, as well as product parity-check and generator matrices.

The system toolbox also provides block and convolutional interleaving and deinterleaving functions to reduce data errors caused by burst errors in a communication system:

Block, including General block interleaver, algebraic interleaver, helical scan interleaver, matrix interleaver, and random interleaver

Convolutional, including General multiplexed interleaver, convolutional interleaver, and helical interleaver

Next: Channel Modeling and RF Impairments

Try Communications System Toolbox

Get trial software

Developing Modular, PXI, and AXIe Test Systems using MATLAB

View webinar