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

📄 qulit.m

📁 matlab 代码,实现了ITU-T V.32建议的 modem 整体仿真实现。
💻 M
字号:
%function []=system(N,alpha,snr)
N=500;alpha=0.1;rate=4%snr=1
%b=input('Please input snr:','s');
snr_db=1;c=[1 -0.5 -0.5 0 0 0 0];
x=signal(N);
h=cosfilter(alpha);
y=outp(x,h,rate);
bbeye(y,rate);
n=gsn(y,snr_db);
r=y+n;
%t=1:length(r);%figure;%subplot(2,2,1);
%plot(t,r);%subplot(2,2,2);
bbeye(r,rate);f=junheng(c,snr,r);
s=imseq(x,f,rate);
N=length(s);%subplot(2,2,3);
sigcon(r,snr_db);
%t=1:N*100;%subplot(2,2,4);
%plot(t/100,p);axis([0,N,-2,2]);grid
er=0;
for i=1:N,
    if(s(i)~=x(i))
        er=er+1;
    else er=er;
    end;   
end;
disp('errors=');
disp(er)

⌨️ 快捷键说明

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