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

System Objects

comm.DifferentialDecoder Decode binary signal using differential decoding
comm.DifferentialEncoder Encode binary signal using differential coding

Blocks

A-Law Compressor Implement A-law compressor for source coding
A-Law Expander Implement A-law expander for source coding
Differential Decoder Decode binary signal using differential coding
Differential Encoder Encode binary signal using differential coding
Mu-Law Compressor Implement µ-law compressor for source coding
Mu-Law Expander Implement µ-law expander for source coding
Quantizing Decoder Decode quantization index according to codebook
Quantizing Encoder Quantize signal using partition and codebook

Functions

arithdeco Decode binary code using arithmetic decoding
arithenco Encode sequence of symbols using arithmetic coding
compand Source code mu-law or A-law compressor or expander
dpcmdeco Decode using differential pulse code modulation
dpcmenco Encode using differential pulse code modulation
dpcmopt Optimize differential pulse code modulation parameters
huffmandeco Huffman decoder
huffmandict Generate Huffman code dictionary for source with known probability model
huffmanenco Huffman encoder
lloyds Optimize quantization parameters using Lloyd algorithm
quantiz Produce quantization index and quantized output value

Concepts

Source Coding

Optimizing partition and codebook parameters for a set of training data

Examples and How To

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

Optimizing partition and codebook parameters for a set of training data

Was this topic helpful?