《OFDM同步ML算法MATLAB仿真(最新整理)》由会员分享,可在线阅读,更多相关《OFDM同步ML算法MATLAB仿真(最新整理)(4页珍藏版)》请在人人文库网上搜索。
1、m1=3;c1=zeros(m1,2048); for zhen1=1:m1M1=1992;a1=rand(1,7968); a1=sign(a1-0.5); b1=reshape(a1,1992,4);xxx1=2*b1(:,1)+b1(:,2)+j*(2*b1(:,3)+b1(:,4);xx1=ifft(xxx1)*1992; geshu1=length(xx1); s11=1;s21=56;s31=1; w11=s11:s31:s21;addcp1=ones(1,geshu1+s21); for i1=w11addcp1(1,i1)=xx1(1992-s21+i1);end w21=1:。
2、1:geshu1; for k1=w21addcp1(1,s21+k1)=xx1(k1);end c1(zhen1,1:2048)=addcp1;endc11=c1;addcp11=reshape(c11,1,6144);for n=1:3for m=1:2048addcp11(n-1)*2048+m)=addcp11(n- 1)*2048+m)*exp(i*2*pi*0.5*m/2048);%加入频偏V以后的各样点值endend%信道模型:带多普勒频移的瑞利衰落信道fade=0 0 0.2 0.3; %多径的幅度Len=length(addcp11);f_Len=length(fade); 。
3、sch=addcp11;for m=1:f_Len sch(1+m:Len)=sch(1+m:Len)+fade(m)*addcp11(1:Len-m);endfd=0.25;%多普勒频移for m=1:length(sch) addcp11(m)=sch(m)*exp(i*2*pi*fd*m/2048);%加入频偏V以后的各样点值endSNR=15;noise=awgn(addcp11,SNR); addcp11=addcp11+noise;n1=length(addcp11); for h1=1:n1-1992as1=0;if h1max1%条件判断,如果数组前面的数比其后的小,执行以下语。
4、句%max1=p1(m);%dml=m;%end% end% fprintf(定时偏差d1的估计值为:%fn,dml);%“”“”At the end, Xiao Bian gives you a passage. Minand once said, people who learn to learn are very happy people. In every wonderful life, learning is an eternal theme. As a professional clerical and teaching position, I understand the imp。
5、ortance of continuous learning, life is diligent, nothing can be gained, only continuous learning can achieve better self. Only by constantly learning and mastering the latest relevant knowledge, can employees from all walks of life keep up with the pace of enterprise development and innovate to meet the needs of the market. This document is also edited by my studio professionals, there may be errors in the document, if there are errors, please correct, thank you。