Mu_Law_Quantize

Impact of mu law companding and quantization of a speech signal.
281 Downloads
Updated 11 Sep 2015

View License

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 (2024). Mu_Law_Quantize (https://www.mathworks.com/matlabcentral/fileexchange/52119-mu_law_quantize), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0

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