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 (2025). Pulse code Modulation (https://jp.mathworks.com/matlabcentral/fileexchange/38614-pulse-code-modulation), MATLAB Central File Exchange. に取得済み.
MATLAB リリースの互換性
作成:
R2010a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linuxカテゴリ
Help Center および MATLAB Answers で PCM についてさらに検索
タグ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!| バージョン | 公開済み | リリース ノート | |
|---|---|---|---|
| 1.0.0.0 |
