⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ip_04_011.m

📁 现代通信系统(matlab版)(第二版)配套源代码 John G. Proakis等著 刘树棠 译 电子工业出版社出版
💻 M
字号:
% MATLAB script for Illustrative Problem 4.11.
echo on
t=[0:0.01:10];
a=sin(t);
[sqnr8,aquan8,code8]=u_pcm(a,8);
[sqnr16,aquan16,code16]=u_pcm(a,16);
pause	% Press a key to see the SQNR for N = 8.
sqnr8
pause	% Press a key to see the SQNR for N = 16.
sqnr16
pause	% Press a key to see the plot of the signal and its quantized versions.
plot(t,a,'-',t,aquan8,'-.',t,aquan16,'-',t,zeros(1,length(t)))

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -