📄 ip_04_10.m
字号:
% MATLAB script for Illustrative Problem 4.10.
clear
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -