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

📄 untitled4.m

📁 对ASK调制解调进行了仿真,包括程序仿真和模型仿真
💻 M
字号:
TW=64;p=3;
s=dchirp(TW,p);
h=conj(s( end : -1: 1));
noise=sqrt(10)*randn(size(s));
s=s+noise;
figure(1)
T=16e-6;
N=p*TW;
t=[-T/2:T/N:T/2]; t(end)=[];
plot(t*1e6, real(s)), grid on
title('The Chirp signal in noisy')
xlabel('t(\mus)'),ylabel('The magnitude of s(n)')
figure(2)
ts=[-N/2:N/2]; ts(end)=[]; th=ts;
[y,ty]=conv_ma(s,ts,h,th);
y=conv(s,h);
ty=ty/(p*TW/T);
plot(ty*1e6, abs(y)), grid on
title('The output from the matched to Chirp signal')
xlabel('t(\mus)'),ylabel('The magnitude of y(n)')

⌨️ 快捷键说明

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