ComputerKnowledgeandTechnology:624(20108)MATLAB2ASK(,710065):,MATLAB。2ASK,2ASKOOK,2ASK。MATLAB2ASK。MATLAB。。:2ASK;Matlab;;:TP311:A:1009-3044(2010)24-6823-03。、,。、。.。,,、3,10,、,3:(ASK)、(FSK)、(PSK).MATLAB2ASK(),M。12ASK1.12ASK2ASK01。0、1,。01。,0、1,,Acos(ωct+准)010。(OOK,OnOffKeying)。OOK,。,,1。2ASK,,。:。1.2,2ASK,。。2。2:,1/2m(t),1/2m(t)cos(2ωct)2ωc,,,{an}。2ASK2,:B2ASK=2Rb,Rb。2M2ASK2.1M2ASKM,11010011010110012ASK。RB=1000Band,fcarrv=4kHz。1,3:2010-05-2512ASK(OOK)232ASKISSN1009-3044ComputerKnowledgeandTechnologyVol.6,No.24,August2010,pp.6823-6825E-mail:eduf@cccc.net.cn:624(20108)。OOK2ASK。“1101001101011001”,Tb=1/Rb=0.001s;,,4,f=1/4Tb=4kHz;,“1”,“0”0。。2.2M2ASKASK。4。4,,z(t);z(t),,0.5;;,,,,,。,,,0.5Tb,RB=1000Band,Tb=1/Rb=0.001s0.5Tb=0.0005s,,0.0005s。2.3M2ASK%ASK%PartIASKclear;%m=[111000101101];%Lm=length(m);%F=200;%f=800;%A=1;%Q=f/F;%,,,QQ=1/3M=500;%t=(0:M-1)/M/f;%carry1=repmat(A*sin(2*pi*f*t),1,Q);%Lcarry1=length(carry1);%carry2=kron(ones(size(m)),carry1);%ask=kron(m,carry1);%N=length(ask);%tau=(0:N-1)/(M-1)/f;%Tmin=min(tau);%Tmax=max(tau);%T=ones(size(carry1));%‘1’dsig=kron(m,T);%subplot(3,1,1)%plot(tau,dsig)%gridon%axis([TminTmax-0.21.2])%subplot(3,1,2)%plot(tau,carry2)%gridon%axis([TminTmax-1.2*A1.2*A])%subplot(3,1,3)%plot(tau,ask)%gridon%axis([TminTmax-1.2*A1.2*A])%%PartIIASKsig_mul=ask.*carry2;%figure(2)%2subplot(4,1,1)%plot(tau,sig_mul)%gridon%axis([TminTmax-0.21.2])%46824ComputerKnowledgeandTechnology:624(20108)%Butterworth[Ord,omega_c]=buttord(4*pi*f*0.6,4*pi*f*0.8,2,30,'s');%Butterworth3dB[num,den]=butter(Ord,omega_c,'s');%,,h=tf(num,den);%%x=lsim(h,sig_mul,tau);%subplot(4,1,2)%plot(tau,x)%gridon%axis([TminTmax-0.30.8])%th=0.25;%t_judge=(0:Lm-1)*Lcarry1+Lcarry1/2;%y=(x(t_judge))';%y_judge=1*(y=th)+0*(y=th);%0y_value=kron(y_judge,ones(size(carry1)));%n_tau=tau+0.5/F;%subplot(4,1,3)%plot(n_tau,y_value)%axis([min(n_tau)max(n_tau)-0.21.2])%gridon%subplot(4,1,4)%plot(tau,dsig)%axis([TminTmax-0.21.2])%gridon%32ASK,2ASKQAM。MATLAB,。,,。DSP,,DSP。,。:[1],.Matlab/Simulink[M].:,2002:155-157.[2].[M].:,2009:135-143.[3]MokhtariMohand,MarieMichel.MATLABSIMULINK[M].,,.:,2002:123-132.6825