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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? stbc22_est.m

?? 各種調制方式的代碼
?? M
字號:
function [FER,FER_uncoded,SER,SER_uncoded, BER, BER_uncoded]=stbc22_est(channel_model,K,Num,no_tx_antennas,no_rx_antennas,modulation)%SNR upto 20 dBsEbNo=[0:2:40];%N, M: number of transmit and receive antennasN=no_tx_antennas;M=no_rx_antennas;%initialize countidx = 1;h=waitbar(0,'Percentage Completed');set(h,'Position',[230 60 275.25 56.25]);set(h,'name','Please wait...');wb=9.09; for SNR=EbNo  sigma=0.5/(10^(SNR/10));    % Num -> number of packets       for packet_count=1:Num % we are interested in transmitting 'K' SYMBOLS not bits. Hence, K*2 for QPSK% etc.        switch (modulation)            case 'BPSK '                data=randint(K,N);                BIT=1;            case 'QPSK '                data=randint(K*2,N);                BIT=2;            case '8PSK '                data=randint(K*3,N);                BIT=3;            case '16QAM'                data=randint(K*4,N);                BIT=4;            otherwise                disp('No Modulation')        endtx_bits=data.';temp=[];temp1=[];for i=1:N    [temp1 s P]=tx_modulate(tx_bits(i,:),modulation);    temp=[temp; temp1];    temp1=0;end%ready to transmit symbols of length 'K'X=temp.';fr_length=length(X);  % block coding-Alamouti x0=X(:,1);% required to verify a 1x1 system x1=X; x2(:,1)=-conj(X(:,2)); x2(:,2)=conj(X(:,1));      for n=1:M    R1=[];R2=[];R3=[];y1=[];%configure pilot 1 for one antennapilot1=[0 0 0 0 0 0 0 0 0 0 1 -1 -1  1 -1 -1  1 -1  1  1];%extend the pilot symbols for full frame lengthpilots1=(repmat(pilot1,fr_length,1));%append the pilot1 symbols to the first antenna symbolX1=[pilots1 x1(:,1)];%configure pilot 2 for the second antenna. Pilot 2 is orthogonal to pilot 1pilot2=[1 -1 -1 -1  1 -1 -1  1 -1  1 0 0 0 0 0 0 0 0 0 0];%extend the pilot symbols for full frame lengthpilots2=(repmat(pilot2,fr_length,1));%append the pilot2 symbols to the second antenna symbolX2=[pilots2 x1(:,2)];%assign the symbols to be transmitted to variable y1 instead of x1. y1 is%the signal transmitted in the first interval period from BOTH the antennasy1=[X1 X2];% transmit through channelfor i=1:fr_length%channel coefficient for first antenna    if channel_model=='AWGN    '    H1(i)=ones(1,1);else    H1(i)=sqrt(0.5)*(randn(1,1)+j*randn(1,1));end    %received signal per receiver antenna    R1(i,:)=H1(i)*y1(i,1:21)/sqrt(N)+sqrt(sigma)*(randn(1,1)+j*randn(1,1));% upto 21st column constitutes the transmission in the                                                                         %first symbol interval from the FIRST antenna                                                                      %i R2(i,1)=H1(i)*x2(i,1)/sqrt(N)+sqrt(sigma)*(randn(1,1)+j*randn(1,1));%transmission in the second symbol interval from the FIRST %antenna.Note no pilot symbols are being transmitted as the assumption is that the channel does %not change through two symbol intervalsendfor i=1:fr_length%channel coefficient for second antenna   if channel_model=='AWGN    '    H2(i)=ones(1,1);else    H2(i)=sqrt(0.5)*(randn(1,1)+j*randn(1,1));end %received signal per receiver antenna    R3(i,:)=H2(i)*y1(i,22:end)/sqrt(N)+sqrt(sigma)*(randn(1,1)+j*randn(1,1));% column 22 till 42nd constitutes the transmission                                                                            % in the first symbol interval from the SECOND antenna R2(i,2)=H2(i)*x2(i,2)/sqrt(N)+sqrt(sigma)*(randn(1,1)+j*randn(1,1));%transmission in the second symbol interval from the SECOND                                                                         %antenna.Note no pilot symbols are being transmitted as                                                                         %the assumption is that the channel does                                                                         %not change through two symbol intervalsend%gather the R1 matrix for transmission during the first symbol intervalR1=[R1 R3];%extract the training symbolstr_symbols1=R1(:,1:20); tr_symbols2=R1(:,22:41); %reconfigure the received signal matrix for first symbol interval from BOTH%the antennastemp1=[R1(:,21) R1(:,42)];%assign to r1 and r2. The 'sum' function denotes summing at the outputs of%BOTH antennasr1(:,n)=sum(temp1,2);r2(:,n)=sum(R2,2);%estimate channel using MMSEfor i=1:fr_length    H_est1(i,1)=mean(tr_symbols1(i,:).*conj(pilot1));endfor i=1:fr_length    H_est2(i,1)=mean(tr_symbols2(i,:).*conj(pilot2));end%final estimated channel coefficients to be used for receptionH_est=[H_est1 H_est2];%original (perfect) channel coefficients used to transmit the signalsH=[H1.' H2.'];%absolute ESTIMATED channel coefficients to be used later in this programH_estabs(:,n)=sum(abs(H_est).^2,2);% demodulate the received signals z1(:,n)=r1(:,n).*conj(H_est(:,1))+conj(r2(:,n)).*H_est(:,2); z2(:,n)=r1(:,n).*conj(H_est(:,2))-conj(r2(:,n)).*H_est(:,1);end%uncoded(1,1)TRANSMITTED signal. Note we use original channel coefficients, since this is the transmitted signal r01=H(:,1).*x0+sqrt(sigma)*(randn(fr_length,1)+j*randn(fr_length,1));%form estimatesfor m=1:P  d01(:,m)=abs(r01-H_est(:,1)*s(m)).^2; % uncoded signal%coded signals    d1(:,m)=abs(sum(z1,2)-s(m)).^2+(-1+sum(H_estabs,2))*abs(s(m))^2;  d2(:,m)=abs(sum(z2,2)-s(m)).^2+(-1+sum(H_estabs,2))*abs(s(m))^2;end     % determine the minimum of estimates      %decision for detecting uncoded      [y0,i0]=min((d01),[],2);      s0d=s(i0).';            clear d01       %decision for detecting s1           [y1,i1]=min(d1,[],2);      s1d=s(i1).';            clear d1%decision for detecting s2      [y2,i2]=min(d2,[],2);      s2d=s(i2).';            clear d2% form received symbols        Xd=[s1d s2d];     %determine symbol errors   error_un(packet_count)=sum(X(:,1)~=s0d);% for uncodedtemp1=X>0;temp2=Xd>0;error(packet_count)=sum(sum(temp1~=temp2));% for coded       end % end of FOR loop for "packet_count"%calculate FER, SER and BER for current idx%for uncoded signal  SER_uncoded(idx)=sum(error_un)/(Num*K);  BER_uncoded(idx)=SER_uncoded(idx)/BIT;  FER_uncoded(idx)=SER_uncoded(idx)*K;%for coded signal  SER(idx)=sum(error)/(Num*K);  BER(idx)=SER(idx)/BIT;  FER(idx)=SER(idx)*K;  %increment idx    idx=idx + 1;  str_bar=[num2str(wb) '% Completed'];waitbar(wb/100,h,str_bar);wb=wb+9.09;  end % end of FOR loop for SNR   close(h);

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
韩国精品免费视频| 日韩视频永久免费| 7777精品伊人久久久大香线蕉的 | 欧美日韩亚洲综合一区二区三区| 欧美电影免费观看高清完整版在 | 久久综合久久综合亚洲| 亚洲免费大片在线观看| 国产精品99久久不卡二区| 欧美久久婷婷综合色| 亚洲色图在线视频| 国产91高潮流白浆在线麻豆| 欧美猛男gaygay网站| 自拍偷拍国产精品| 高清视频一区二区| 337p日本欧洲亚洲大胆色噜噜| 亚洲最大的成人av| 成人精品电影在线观看| 久久久久久久久99精品| 麻豆一区二区三区| 欧美猛男gaygay网站| 亚洲亚洲精品在线观看| 色综合中文字幕国产| 久久欧美中文字幕| 国产一区二区三区在线看麻豆| 8x福利精品第一导航| 亚洲自拍偷拍麻豆| 欧美色综合久久| 亚洲精品国产无天堂网2021| 成人18视频日本| 国产精品家庭影院| 波多野洁衣一区| 国产精品久久久久婷婷| 成人精品高清在线| 国产精品久线观看视频| jizz一区二区| 亚洲素人一区二区| 色视频一区二区| 亚洲一区二区黄色| 欧美日韩精品专区| 欧美aaa在线| 26uuu国产电影一区二区| 精品在线亚洲视频| 久久综合av免费| 国产成人精品1024| 国产精品免费人成网站| 不卡电影免费在线播放一区| 中文字幕高清一区| 日本高清视频一区二区| 亚洲成人av中文| 欧美一区二区在线免费观看| 另类综合日韩欧美亚洲| 久久蜜桃av一区二区天堂| 成人亚洲一区二区一| 一区二区三区在线视频免费| 欧美一区永久视频免费观看| 国产精品中文字幕日韩精品| 中文字幕免费不卡| 欧美日韩中文字幕一区二区| 日韩精品乱码av一区二区| 久久综合国产精品| 97久久久精品综合88久久| 亚洲成av人片一区二区| 久久综合九色综合97婷婷 | 中文字幕一区二区三区色视频 | 国产精品乱码久久久久久| 99re亚洲国产精品| 丝袜美腿高跟呻吟高潮一区| 欧美精品一区二区三区在线播放| 成年人网站91| 奇米精品一区二区三区四区 | 91视视频在线直接观看在线看网页在线看 | 亚洲情趣在线观看| 日韩精品一区国产麻豆| 99re热这里只有精品视频| 老司机免费视频一区二区三区| 欧美国产日产图区| 中文字幕精品综合| 欧美日韩精品免费观看视频| 成人综合日日夜夜| 青青草97国产精品免费观看无弹窗版| 日本一区二区三区在线不卡| 欧美日韩你懂得| 播五月开心婷婷综合| 久久国产免费看| 亚洲综合久久久久| 国产精品美女一区二区在线观看| 91精品国产福利| 欧洲色大大久久| 成人av电影在线观看| 国产永久精品大片wwwapp| 性欧美疯狂xxxxbbbb| 亚洲男人的天堂av| 久久精品亚洲麻豆av一区二区 | 国产三级精品视频| 91精品国产乱| 7777女厕盗摄久久久| 色素色在线综合| 99久久er热在这里只有精品15 | 日本vs亚洲vs韩国一区三区二区 | 日韩高清中文字幕一区| 樱花影视一区二区| 国产精品情趣视频| 久久亚洲一区二区三区明星换脸| 欧美一区二区三区四区在线观看| 色88888久久久久久影院野外| 成人av电影免费观看| 国产成人av影院| 国产东北露脸精品视频| 精品制服美女久久| 精品一区二区免费| 蜜桃视频一区二区| 精品制服美女久久| 国内久久精品视频| 国产伦精品一区二区三区免费 | 在线免费观看日韩欧美| yourporn久久国产精品| 成人av第一页| 91麻豆国产在线观看| 色偷偷88欧美精品久久久| 一本一本大道香蕉久在线精品 | 日韩午夜电影在线观看| 91精品久久久久久久99蜜桃| 亚洲制服丝袜av| 夜色激情一区二区| 日韩福利电影在线| 久久成人久久爱| 国产一区91精品张津瑜| bt7086福利一区国产| 91在线精品秘密一区二区| 欧美探花视频资源| 欧美一区二区福利视频| 久久麻豆一区二区| 国产精品电影院| 亚洲电影欧美电影有声小说| 麻豆精品视频在线观看| 狠狠色狠狠色合久久伊人| 高清av一区二区| 91碰在线视频| 欧美婷婷六月丁香综合色| 欧美一级日韩一级| 国产亚洲欧美一区在线观看| 国产精品动漫网站| 日韩一区精品视频| 国产精品99久久久久久似苏梦涵| 91美女片黄在线| 日韩免费视频一区| 国产精品不卡在线观看| 香蕉久久一区二区不卡无毒影院| 美女视频黄频大全不卡视频在线播放| 国产精品中文有码| 欧美三级中文字幕在线观看| 久久久综合九色合综国产精品| 亚洲欧美成aⅴ人在线观看 | 日韩一级完整毛片| 国产精品美女久久福利网站| 三级欧美在线一区| 风流少妇一区二区| 8x8x8国产精品| 亚洲人成网站精品片在线观看| 免费观看在线综合色| 91丝袜呻吟高潮美腿白嫩在线观看| 欧美二区乱c少妇| 国产精品全国免费观看高清 | 欧美激情一区不卡| 午夜在线成人av| 成人国产精品视频| 欧美一二三四区在线| 亚洲精品视频在线观看免费 | 色哦色哦哦色天天综合| 欧美电视剧在线看免费| 亚洲国产综合色| eeuss影院一区二区三区| 26uuu欧美| 奇米综合一区二区三区精品视频 | 成人福利电影精品一区二区在线观看| 欧美日本一道本| 亚洲色图欧洲色图婷婷| 国产在线视频一区二区三区| 在线播放欧美女士性生活| 亚洲精品中文在线观看| 国产福利精品导航| 日韩亚洲欧美中文三级| 亚洲成人免费av| 在线观看www91| 一区二区三区四区高清精品免费观看 | 蜜臀91精品一区二区三区| 日本精品一级二级| 亚洲人成精品久久久久| 成人99免费视频| 中文字幕永久在线不卡| 国产91丝袜在线观看| 久久蜜桃一区二区| 国产精品自产自拍| 国产婷婷色一区二区三区| 激情图片小说一区| 日韩欧美精品在线| 久久精品国产成人一区二区三区 | 中文字幕一区二区视频| 成人污污视频在线观看| 欧美经典一区二区三区|