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 Codec | Quantize narrowband speech input signals |
Quantizer | Discretize input at given interval |
Scalar Quantizer Decoder | Convert each index value into quantized output value |
Scalar Quantizer Encoder | Encode each input value by associating it with index value of quantization region |
Uniform Decoder | Decode integer input into floating-point output |
Uniform Encoder | Quantize and encode floating-point input into integer output |
Vector Quantizer Decoder | Find vector quantizer codeword that corresponds to zero-based index value |
Vector Quantizer Encoder | Index of nearest codeword based on Euclidean or weighted Euclidean distance measure |
Topics
- Scalar Quantizers and Vector Quantizers
Learn how to use scalar and vector quantizer blocks.