CCS - Digital Transmission via Carrier Modulation - Carrier-Phase Modulation
作者:互联网
Carrier-Phase Modulation
We observe that binary phase modulation is identical to binary PAM (binary antipodal signals).
Matlab Coding
1 % MATLAB script 2 echo on 3 T=1; 4 M=8; 5 Es=T/2; 6 fc=6/T; % carrier frequency 7 N=100; % number of samples 8 delta_T=T/(N-1); 9 t=0:delta_T:T; 10 u0=sqrt(2*Es/T)*cos(2*pi*fc*t); 11 u1=sqrt(2*Es/T)*cos(2*pi*fc*t+2*pi/M); 12 u2=sqrt(2*Es/T)*cos(2*pi*fc*t+4*pi/M); 13 u3=sqrt(2*Es/T)*cos(2*pi*fc*t+6*pi/M); 14 u4=sqrt(2*Es/T)*cos(2*pi*fc*t+8*pi/M); 15 u5=sqrt(2*Es/T)*cos(2*pi*fc*t+10*pi/M); 16 u6=sqrt(2*Es/T)*cos(2*pi*fc*t+12*pi/M); 17 u7=sqrt(2*Es/T)*cos(2*pi*fc*t+14*pi/M); 18 u8=sqrt(2*Es/T)*cos(2*pi*fc*t+16*pi/M); 19 20 % plotting commands follow 21 subplot(9,1,1); 22 plot(t,u0); 23 subplot(9,1,2); 24 plot(t,u1); 25 subplot(9,1,3); 26 plot(t,u2); 27 subplot(9,1,4); 28 plot(t,u3); 29 subplot(9,1,5); 30 plot(t,u4); 31 subplot(9,1,6); 32 plot(t,u5); 33 subplot(9,1,7); 34 plot(t,u6); 35 subplot(9,1,8); 36 plot(t,u7); 37 subplot(9,1,9); 38 plot(t,u8);
Simulation Result
Reference,
1. <<Contemporary Communication System using MATLAB>> - John G. Proakis
标签:subplot,plot,via,Modulation,fc,Carrier,sqrt,pi,Es 来源: https://www.cnblogs.com/zzyzz/p/13688320.html