Mu_Law_Quantize

Impact of mu law companding and quantization of a speech signal.

You are now following this Submission

This MATLAB exercise illustrates the impact of mu law companding (compressing and expanding) and quantization of a speech signal. The program quantizes a speech file using a mu law quantizer with a bit rate of 'nbits' per sample, where 'nbits' is typically in the range of 2-10. The program plots the quantized signal and the error signal, along with an estimate of the signal and error power spectrum, and a histogram of the error signal values. The program also plays out the error signals in order to get a feeling for how much noise is introduced into the quantized signal at different bit rates. The file '5.5 Mu Law Quantization.pdf' provides a User's Guide for this exercise.

Cite As

Lawrence Rabiner (2026). Mu_Law_Quantize (https://uk.mathworks.com/matlabcentral/fileexchange/52119-mu_law_quantize), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

works on both R2015a and windows 10
added name of User's Guide for this exercise