Communications Blockset    

Source Coding

This blockset supports companders, scalar quantization and predictive quantization. You can open the Source Coding library by double-clicking on its icon in the main Communications Blockset library (commlib), or by typing commsrccod2 at the MATLAB prompt.

The table below lists and describes the blocks in the Source Coding library. For information about a specific block, see the reference pages that follow.

Block Name 
Purpose 
A-Law Compressor
Implement A-law compressor for source coding
A-Law Expander
Implement A-law expander for source coding
Differential Decoder
Decode a binary signal using differential coding technique.
Differential Encoder
Encode a binary signal using differential coding technique.
DPCM Decoder
Decode differential pulse code modulation
DPCM Encoder
Encode using differential pulse code modulation
Mu-Law Compressor
Implement µ-law compressor for source coding
Mu-Law Expander
Implement µ-law expander for source coding
Quantizer Decode
Decode quantization index according to codebook
Sampled Quantizer Encode
Quantize a signal, indicating quantization index, coded signal, and distortion
Enabled Quantizer Encode
Quantize a signal, using trigger to control processing


  Communications Sinks Error Detection and Correction