《基于MATLAB的FM调制与PM调制》由会员分享,可在线阅读,更多相关《基于MATLAB的FM调制与PM调制(2页珍藏版)》请在金锄头文库上搜索。
1、t=-100:1:100;m=cos(pi/30*t); s=20*cos(wc*t); FM=20*cos(pi/5*t+5*sin(pi/30*t); PM=20*cos(pi/5*t+5*cos(pi/30*t); subplot(3,1,1);plot(t,m); grid; xlabel(t);ylabel(m);title(信号波形图); subplot(3,1,2);plot(t,s);grid; xlabel(t);ylabel(s);title(载波信号波形图); subplot(3,1,3);plot(t,FM);grid; xlabel(t);ylabel(FM);tit
2、le(FM 信号波形图); figure subplot(3,1,1);plot(t,m); grid; xlabel(t);ylabel(m);title(信号波形图); subplot(3,1,2);plot(t,s);grid; xlabel(t);ylabel(s);title(载波信号波形图); subplot(3,1,3);plot(t,PM);grid; xlabel(t);ylabel(PM);title(PM 信号波形图)-100-80-60-40-20020406080100-101tm信 信 信 信 信-100-80-60-40-20020406080100-20020ts信 信 信 信 信 信 信-100-80-60-40-20020406080100-20020tFMFM信 信 信 信 信-100-80-60-40-20020406080100-101tm信 信 信 信 信-100-80-60-40-20020406080100-20020ts信 信 信 信 信 信 信-100-80-60-40-20020406080100-20020tPMPM信 信 信 信 信