Mu Law Quantizer

Illustrates the impact of mu-law companding (compressing and expanding) and quantization of a speech

1.3K Downloads

Updated Wed, 03 Jun 2015 01:20:58 +0000

View License

Speech processing designates a team consisting of Prof. Lawrence Rabiner (Rutgers University and University of California, Santa Barbara), Prof. Ronald Schafer (Stanford University), Kirty Vedula and Siva Yedithi (Rutgers University). This exercise is one of a set of speech processing exercises that are intended to supplement the teaching material in the textbook “Theory and Applications of Digital Speech Processing” by L R Rabiner and R W Schafer.
This exercise quantizes a designated 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. For the chosen value of nbits, the program plots the quantized and the error signals 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.

Cite As

Speech Processing (2023). Mu Law Quantizer (https://www.mathworks.com/matlabcentral/fileexchange/45322-mu-law-quantizer), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012b
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.4.0.0

Updated to work with post-R2014b graphics

1.3.0.0

code updates; Read_Me.txt setup file; pathnew_matlab_central example

1.2.0.0

bigger text boxes

1.1.0.0

Finds the speech directory automatically going up two levels

1.0.0.0