Pulse code Modulation

Version 1.0.0.0 (85.9 KB) by Aditya
PCM on a sine wave and a .wav file for demonstration of various processes done during PCM.
1.5K Downloads
Updated 16 Oct 2012

View License

Two codes: First one demonstrates PCM on a sine wave. To verify this code, second one uses the same code to perform PCM on a .wav file.
Performs sampling, quantizing, encoding, and decoding in first code.
In the 2nd code, u can play the original and decoded(after PCM) .wav file and compare quality, distortion etc for various n-bit values and sampling frequency.

Cite As

Aditya (2026). Pulse code Modulation (https://se.mathworks.com/matlabcentral/fileexchange/38614-pulse-code-modulation), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.0.0.0