Main Content

Quantizers

Encoders, decoders, scalar and vector quantizers

DSP System Toolbox™ offers Simulink® blocks to implement quantizers, encoders, and decoders. A quantizer discretizes the input signal using a quantization algorithm. Encoder blocks perform data compression by encoding input data using different quantization techniques. Decoder blocks reconstruct the quantized floating-point values from the encoded integer input. To learn how to use scalar and vector quantizer blocks, see Scalar Quantizers and Vector Quantizers.

Blocks

G711 CodecQuantize narrowband speech input signals
QuantizerDiscretize input at given interval
Scalar Quantizer DecoderConvert each index value into quantized output value
Scalar Quantizer EncoderEncode each input value by associating it with index value of quantization region
Uniform DecoderDecode integer input into floating-point output
Uniform EncoderQuantize and encode floating-point input into integer output
Vector Quantizer DecoderFind vector quantizer codeword that corresponds to zero-based index value
Vector Quantizer EncoderIndex of nearest codeword based on Euclidean or weighted Euclidean distance measure

Topics

Featured Examples