Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Source Coding

Format signals for processing

Communications System Toolbox™ contains System objects, blocks, and functions to apply various source coding to format signals according to representative partitions, specific codebook mapping, compressing, expanding, companding, and quantization.

System Objects

comm.DifferentialDecoderDecode binary signal using differential decoding
comm.DifferentialEncoderEncode binary signal using differential coding

Blocks

A-Law CompressorImplement A-law compressor for source coding
A-Law ExpanderImplement A-law expander for source coding
Differential DecoderDecode binary signal using differential coding
Differential EncoderEncode binary signal using differential coding
Mu-Law CompressorImplement µ-law compressor for source coding
Mu-Law ExpanderImplement µ-law expander for source coding
Quantizing DecoderDecode quantization index according to codebook
Quantizing EncoderQuantize signal using partition and codebook

Functions

arithdecoDecode binary code using arithmetic decoding
arithencoEncode sequence of symbols using arithmetic coding
compandSource code mu-law or A-law compressor or expander
dpcmdecoDecode using differential pulse code modulation
dpcmencoEncode using differential pulse code modulation
dpcmoptOptimize differential pulse code modulation parameters
huffmandecoHuffman decoder
huffmandictGenerate Huffman code dictionary for source with known probability model
huffmanencoHuffman encoder
lloydsOptimize quantization parameters using Lloyd algorithm
quantizProduce quantization index and quantized output value

Topics

Source Coding

Scalar quantization is a process that maps all inputs within a specified range to a common value.

Arithmetic Coding

Arithmetic coding offers a way to compress data and can be useful for data sources having a small alphabet.

Compand a Signal

In certain applications, such as speech processing, it is common to use a logarithm computation, called a compressor, before quantizing.

Differential Pulse Code Modulation

The quantization in the section Quantize a Signal requires no a priori knowledge about the transmitted signal.

Huffman Coding

Huffman coding offers a way to compress data.

Quantization

Scalar quantization is a process that maps all inputs within a specified range to a common value.

Was this topic helpful?