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.
引用格式
Aditya (2026). Pulse code Modulation (https://ww2.mathworks.cn/matlabcentral/fileexchange/38614-pulse-code-modulation), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2010a
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 PCM 的更多信息
标签
| 版本 | 已发布 | 发行说明 | |
|---|---|---|---|
| 1.0.0.0 |
