信号调制与解调[实验目的]1.了解用MATLAB实现信号调制与解调的方法。2.了解几种基本的调制方法。
xo=demod(y2,Fc,Fs,'am');
figure
subplot(211)
plot(n(1:200),xn(1:200));
title('原信号');
subplot(212)
plot(n(1:200),2*xo(1:200));
title('解调信号');
axis([1 200 0 1]);
figure
y2=modulate(xn,Fc,Fs,'fm');
subplot(211);
plot(n(1:200),y2(1:200));
xlabel('时间(s)');ylabel('幅值');title('调频信号');
yf=abs(fft(y2,N));
subplot(212);stem(yf(1:200));xlabel('频率(H)');ylabel('幅值');
xo=demod(y2,Fc,Fs,'fm');
figure
subplot(211)
plot(n(1:200),xn(1:200));
title('原信号');
subplot(212)
plot(n(1:200),1.6*xo(1:200));
title('解调信号');
axis([1 200 0 1]);
figure
y2=modulate(xn,Fc,Fs,'pm');
subplot(211);
plot(n(1:200),y2(1:200));
xlabel('时间(s)');ylabel('幅值');title('调相信号');
百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说教育文库MATLAB实现信号的调制与解调(3)在线全文阅读。
相关推荐: