亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? selficiawgnofdm.m

?? 正交頻分復(fù)用系統(tǒng)(OFDM)的頻率偏移誤差抑制技術(shù)仿真程序
?? M
字號:
%-----------------------------------------------------------------
%Simulation File
%OFDM System with 16QAM Modulation
%Self InterCarrier Interference Cancellation
%Frequency Offset Estimation Algorithm Implemented
%Size of FFT/IFFT=16
%Needed M-Files
%  QAMlev16
%  QAM16
%  gngauss
%  discrm16
%  revsymQAM16
%  levtobin16
%Author: 王博
%Filename: selficiawgnofdm.m
%-----------------------------------------------------------

%clearing and setting variables in the MATLAB environment
clear
home
format short g
N=16;                       %size of FFT
iterate=10000;                %number of iterations per Eb/No snr value
error=0:2:30;                 %Eb/No values to be scanned
%declaration of frequency offset corresponding from 0% to 10%
%with 2% increments 
%1% computed as (1/(size of FFT))/100
%so for FFT size 16 --> 1%=1/(16*100)=0.000625
freqerr=0:.00125:.00625;     %frequency offset with 2% increments
freqres=[];                 %matrix:BER values will be saved
echo off
%there will be 3 loops for the whole simulation
%for each frequency offset value the snr is sweeped for each snr value there is an repetitive iteration

for ff=1:length(freqerr) %first loop   (frequency offset)
for dif=1:length(error) %second loop   (snr values)

echo off;
count=0;
eroorcount=0;      %variable that monitors the number of bit
                 %errors

%computation of the corresponding sgma or variance of the
%Gaussian Noise generator. The whole system is normalized meaning
%the symbol (QAM16) signaling is kept constant while increasing the 
%variance of the GN Generator
d=1;
Eav=10*d^2;                
%average power of a 16 QAM system
snr=10^(error(diff)/10);    %computation of linear snr; error
                           %is in dB
sgma=sqrt(16*Eav/(8*snr)); %computation of the variance of
                       %Gaussian Generator
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%Numerous iteration starts here; third loop
for go=1:iterate

%start of transmitter model
%generate only half of the input bits of the conventional ofdm
y=rand(1,32);     %generates random values between 0 to 1
o=y>.5;          %floors or ceils; converts to logic 1 or 0

%also half the number of level conversions
for B=0:7          %groups the bits into sets of 4 numbers
sym(B+1, 1:4)=o(4*B+1:4*B+4);   %divides into 4 bit chunks
end

%QAM leveler
for B=0:7           %assigns a level number per combination of 4 numbers
symlev(B+1)=QAMlev16(sym(B+1, 1:4));
%QAMlev16 returns the level number
end

%generation of 16 QAM mapped symbols
for B=1:8          %each level will be assigned to a QAM constellation
aftQAM16(B)=QAM16(symlev(B));  %maps to a 16 point QAM point
end

%implenmentation of Linear Self ICI Cancellation in the
%transmitter side
aftQAM16B=[];
for B=1:8  %each QAM symbol is interleaved with its’ negated value
   aftQAM16B=[aftQAM16B aftQAM16(B) -1*(aftQAM16(B))];
   %resulting vector has an original vector length
end

%computation of the IFFT; complex modulation
OUTIFFT=N.*ifft(aftQAM16B,N);
%end of transmitter model

%channel model starts here
for B=1:16, [a b]=gngauss(sgma);   %generate Gaussian Noise
%here we insert noise in the channel
   OUTIFFTplusnoisel(B)=OUTIFFT(B)+a+i*b;
%frequency offset is also inserted into the signal
  %resulting vector OUT(B) is now affected by frequency offset and Gaussian Noise
  OUT(B)=OUTIFFTplusnoisel(B)*exp(i*2*pi(B-1)*freqerr(ff));
end;
%end of channel model
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%start of receiver model
%computation of the FFT; complex demodulation
OUTFFT1=fft(OUT,N)./N;

%take 2 received signals and take fft and average before
%getting the symbol comparison
%Self ICI cancellation demodulation algorithm shown here
%sort out the odd and even frequency bins
k=1:2:16;    %odd pointers
k2=2:2:16;   %even pointers
OUTFFTa=OUTFFT1(k);   %odd frequency bin symbols
OUTFFTb=OUTFFT1(k2);  %even frequency bin symbols
%ICI Cancellation takes place right here
OUTFFTeven=(OUTFFTa-OUTFFTb0)/2;
%summation of two negated similar symbols and averaged will
%correspond to the symbol generated by the QAM16 constellation
%mapper only half of the symbols are seen in here

%we calculate the distances of the OUTFFT points to possible
%QAM constellation points
%the one with the least distances will assign as output
for B=1:8
   outsym(B)=discrim16(OUTFFTeven(B)); %return the nearest constellation coordinates
end

%reassigns the constellation coordinate to a voltage level
for B=1:8
revsymlev16(B)=revsymQAM16(outsym(B));
%voltage level corresponds to the assignment to QAMlev16
end

%reverse of QAM leveler
for B=1:8
outbin(B,1:4)=levtobin16(revsvmlev16(B));
%reassigns the voltage level to a binary pair
end
%end of receiver model

%start of bit error rate computation
%evaluation of the bit discrepancies found per 4 bit sets
for B=1:8
if outbin(B,1:4)==sym(B,1:4)
   errorcount=errorcount;     %perfect reception is achieved
else
   difference=sum(xor(outbin(B,1:4)));
%count the bit differences
errorcount=errorcount+difference;
%accumulate the bit errors
end          %end for the if statement
end
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
end          %back to the numerous iteration
             %corresponds to the for loop of “for go=1:iterate”

%after counting all the bit errors per set of parameters
%compute the normalized number of errors accumulated
%with respect to the number of bits generated
bang(diff)=errorcount/(iterate*8*4);

end            %now update for new snr value
               %corresponds to for loop “for diff=1:length(error)”
               second loop (snr values)

%save the error count values for all levels of frequency offset
freqres=[freqres;bang];

end         %now update for a new frequency offset value
            %corresponds to for loop ff=1:length(freqerr)

a=clock;    %the time information
%saving the significant information for this simulation run
save AWGNselficiqwgnofdm freqres error N iterate d freqerr a 
%displaying the BER curves
%figure; semilogy(error,freqres);

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品久久精品日日| 国产精品一区二区久久不卡| 91精品在线麻豆| 国产一区二区在线观看免费| 国产成人亚洲综合色影视| 欧美一级午夜免费电影| 欧美精品乱人伦久久久久久| 精品视频999| 国产成人午夜片在线观看高清观看| 国产校园另类小说区| 午夜精品aaa| 自拍偷自拍亚洲精品播放| 精品日本一线二线三线不卡| 中文字幕va一区二区三区| 日韩一区二区免费在线电影| 成人免费高清视频| 国产亚洲综合性久久久影院| 91精品一区二区三区久久久久久| 成人黄色电影在线 | 欧美精品日韩精品| 在线91免费看| 婷婷国产v国产偷v亚洲高清| 欧美日韩一区二区在线观看视频| 九九精品一区二区| 26uuu精品一区二区| 奇米影视一区二区三区| 亚洲国产精品一区二区久久恐怖片| 久久综合狠狠综合久久综合88 | 欧美日韩在线观看一区二区 | av在线不卡网| 波多野结衣在线一区| 精品国产乱码久久久久久闺蜜| 91精品国产综合久久精品性色 | 久久婷婷国产综合精品青草| 久久婷婷色综合| 成人av电影在线观看| 一本到不卡精品视频在线观看| 91久久精品日日躁夜夜躁欧美| 一区二区三区不卡在线观看| 日韩av中文字幕一区二区三区| 69久久夜色精品国产69蝌蚪网| 日韩免费视频一区二区| 日韩视频在线一区二区| 国产成人精品一区二区三区网站观看 | 久久99国产精品成人| 国产欧美精品区一区二区三区| 亚洲一区中文日韩| 免费一区二区视频| 欧美一区二区视频在线观看2022| 国产成人亚洲精品青草天美| 91老师国产黑色丝袜在线| 欧美成人伊人久久综合网| av欧美精品.com| 91精品国产入口| 亚洲高清久久久| 国产传媒日韩欧美成人| 麻豆91免费观看| 欧美日韩精品电影| 亚洲国产精品一区二区尤物区| 国产精品你懂的在线欣赏| 日韩va欧美va亚洲va久久| 欧美影院一区二区| 成人永久看片免费视频天堂| 日韩精品一区二区在线| 日本三级亚洲精品| 日韩精品专区在线影院观看| 亚洲免费伊人电影| 日本韩国精品一区二区在线观看| 久久久99精品免费观看| 欧美精品一区二区不卡| 韩国精品久久久| 久久久久国产精品人| 国产精品99久久久| 成人精品视频网站| 中文字幕五月欧美| 95精品视频在线| 色偷偷成人一区二区三区91| 亚洲三级在线观看| 日韩欧美国产一区在线观看| 另类小说综合欧美亚洲| 精品国产精品一区二区夜夜嗨| 2017欧美狠狠色| 在线观看av一区二区| 午夜国产精品一区| 精品一区二区三区香蕉蜜桃| 2014亚洲片线观看视频免费| 91免费国产在线| 国产精品 欧美精品| 日韩午夜电影在线观看| 国产一区二区在线观看免费| 国产精品久久久久久久岛一牛影视 | 欧美一区二区播放| 欧美xxxx在线观看| 日本精品免费观看高清观看| 日韩vs国产vs欧美| 色婷婷久久久久swag精品| 美女视频黄频大全不卡视频在线播放| 国产精品短视频| 麻豆精品一区二区综合av| 久久久久综合网| 日韩欧美一级二级| 欧美一区二区福利在线| 亚洲图片欧美色图| 成人免费小视频| 亚洲激情在线激情| 亚洲乱码一区二区三区在线观看| 国产最新精品免费| 日本人妖一区二区| 九色综合狠狠综合久久| 精品乱人伦一区二区三区| 日韩亚洲欧美在线| 精品久久久久久久人人人人传媒| 亚洲第一福利视频在线| 韩国av一区二区三区四区| 国产精品69毛片高清亚洲| 国产美女在线观看一区| 青草国产精品久久久久久| 国产不卡视频在线播放| 亚洲国产成人自拍| 精品一区二区综合| 欧美午夜在线观看| 中文字幕亚洲一区二区va在线| 视频一区二区中文字幕| 亚洲少妇中出一区| 精品一区在线看| 精品88久久久久88久久久| 香蕉影视欧美成人| 一区二区三区在线看| 成人久久久精品乱码一区二区三区| 欧美丰满嫩嫩电影| 亚洲国产精品久久人人爱 | 日韩毛片高清在线播放| 91久久精品一区二区| 日韩三级视频在线看| ...av二区三区久久精品| 91精品国产综合久久蜜臀| 欧美第一区第二区| 一片黄亚洲嫩模| 高清国产午夜精品久久久久久| 亚洲国产日韩精品| 国产老妇另类xxxxx| 欧美一区二区不卡视频| 一本到三区不卡视频| 久久日一线二线三线suv| 日韩vs国产vs欧美| 91精品国产综合久久精品| 91一区二区三区在线观看| 久久亚区不卡日本| 精品亚洲免费视频| 蜜臀av一级做a爰片久久| 欧美视频在线播放| 亚洲欧美成aⅴ人在线观看| 成人毛片在线观看| 国产精品久久看| 国产视频911| 国产成人在线看| 亚洲品质自拍视频| 色婷婷av久久久久久久| 午夜欧美电影在线观看| 日韩国产一二三区| 久久这里只有精品视频网| 国产精品18久久久久久vr| 亚洲欧美日韩综合aⅴ视频| 在线精品视频免费观看| 欧美精选午夜久久久乱码6080| 国产一区二区剧情av在线| 亚洲第一激情av| 亚洲午夜一二三区视频| 国产精品资源站在线| 日韩vs国产vs欧美| 亚洲精品国产成人久久av盗摄| 国产亚洲精品福利| 欧美tickling挠脚心丨vk| 亚洲高清免费在线| 免费人成在线不卡| 国产精品亲子乱子伦xxxx裸| 日韩午夜激情av| 日韩一区二区影院| 67194成人在线观看| 欧美精品三级日韩久久| 欧美日韩高清在线播放| 欧美日韩一区二区三区不卡| 91麻豆文化传媒在线观看| 日韩欧美国产一区二区三区| 欧美电影在哪看比较好| 欧美日韩一区二区三区高清| 欧美日韩一区中文字幕| 91热门视频在线观看| 欧美性三三影院| 欧美色综合影院| 精品sm在线观看| 国产亚洲精品久| 中文字幕亚洲一区二区va在线| 国产精品夜夜嗨| 91国产福利在线| 欧美日韩精品一区二区三区 | 东方aⅴ免费观看久久av| 国产成a人亚洲| 91久久免费观看| 欧美日韩精品一区二区天天拍小说 |