数字信号处理实验报告

发布时间 : 星期三 文章数字信号处理实验报告更新完毕开始阅读

d=max(x)-min(x); b=4;L=2^b; s=d/L;

y=s*round(x/s);

subplot(2,1,1);plot(t,x);hold on plot(t,y);hold off

subplot(2,1,2);e=x-y,hist(e);

snra=10*log10(sum(x.*x)/sum(e.*e))

b=2时: N=1000;t=(0:N-1)*0.001;x=sin(2*pi*t);

d=max(x)-min(x); b=2;L=2^b; s=d/L;

y=s*round(x/s);

subplot(2,1,1);plot(t,x);hold on plot(t,y);hold off

subplot(2,1,2);e=x-y,hist(e);

snra=10*log10(sum(x.*x) /sum(e.*e) )

b=6时: N=1000;t=(0:N-1)*0.001;x=sin(2*pi*t);

-可编辑修改-

d=max(x)-min(x); b=6;L=2^b;

s=d/L;y=s*round(x/s); subplot(2,1,1);plot(t,x);hold on plot(t,y);hold off

subplot(2,1,2);e=x-y,hist(e); snra=10*log10(sum(x.*x) /sum(e.*e) )

有实验图像可知:(1)、随着量化阶数b越大,信噪比越大。

(2)、随着信号幅值越小,信噪比越大。

-可编辑修改-

THANKS !!!

致力为企业和个人提供合同协议,策划案计划书,学习课件等等

打造全网一站式需求

欢迎您的下载,资料仅供参考

-可编辑修改-

联系合同范文客服:xxxxx#qq.com(#替换为@)