ip_04_10.m
来自「现代通信系统——使用MATLAB源码」· M 代码 · 共 16 行
M
16 行
% MATLAB script for Illustrative Problem 10, Chapter 4
echo on
a=randn(1,500);
n=64;
[sqnr,a_quan,code]=u_pcm(a,64);
pause % Press a key to see the SQNR
sqnr
pause % Press a key to see the first five input values.
a(1:5)
pause % Press a key to see the first five quantized values.
a_quan(1:5)
pause % Press a key to see the first five codewords.
code(1:5,:)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?