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

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

?? update_mobile_structres_before_frame_g_fac_no_fsf.m

?? 基于OFDM的無線寬帶系統仿真It contains mainly two parts, i.e. link-level simulator and system-level simulator.
?? M
?? 第 1 頁 / 共 2 頁
字號:
function [st_channelGrid,st_testConfig,st_mobileStations,MobileIdCnt,st_baseStation,st_measurement]= update_mobile_structres_before_frame_g_fac_no_fsf(st_testConfig,st_channelGrid,st_mobileStations,MobileIdCnt,st_baseStation,st_measurement)
%__________________________________________________________________________
% Type:                 :   Function Header
% Function name         :   ofdma_sfn_Cellular_la_dl_simulator
% input                 :   st_channelGrid,st_testConfig,st_mobileStations,st_baseStations
% output                :   st_channelGrid,st_testConfig,st_mobileStations,st_baseStations
%                       :
% calling functions     :   input_config
% called functions      :
% Function Description  :       % Update mobile structure.
%   its acceleraion
%   its position, therefore
%   its pathloss
%   settings of channel object
%       its history to zero. No need to store history now
%       its rms delay spread as per the distance.
%       its doppler as per the new velocity
%     ALSO UPDATE REQUIRED PARAMETERS
%__________________________________________________________________________

% Update new velocity and location

% st_testConfig.locMS=nan(st_testConfig.nuMob,1); % This is done so that for
%                                                 % each frame, the mobile
%                                                 % begins at a new location
%                                                 % This has to be changed
%                                                 % depending on the
%                                                 % simulation condition,
%                                                 % probably a switch is a
%                                                 % good option
if st_testConfig.nFrmCnt > 1
    %Plot current mobiles
    figure(1);
    hold on;
    plot(st_testConfig.locMS,'g.');
    % pause(1)
end


% Check each mobile, if the remaining file size to be trasmitted is less
% than zero. If so, then initiate a new mobile in that handle
new_mobile_handles=[];
finished_locs=[];
bad_mobiles_loc=[];
old_mobile_handles=[];
for lp_nmob =1:st_testConfig.nuMob
    % IDENTIFY MOBILE WHICH ARE NOT ABLE TO GET THROUGH BUT ARE SIMPLY BLOCKING
    % THE NETWORK RESOURCES.
    % TAKE THEM AWAY FROM THE NETWORK, i.e. DO NOT SERVE THEM ANY MORE AND MARK
    % THEM WITH A YELLOW STAR
    %         if st_testConfig.nFrmCnt > 4
    %             if sum(st_mobileStations(lp_nmob).MobNumber([st_testConfig.nFrmCnt - [0:3] ])) == 0
    %                 bad_mobiles_loc=st_testConfig.locMS(lp_nmob);
    %                 st_mobileStations(lp_nmob).RemFileSz(st_testConfig.nFrmCnt-[1 0]) = -999999;
    %                 st_measurement.outageCnt=st_measurement.outageCnt+1;
    %             end
    %         end
    %     MAX_OFDM_SYMBOL_WAIT=4*4; %(4 ofdm symbols x 4 sub frames )
    %  if st_testConfig.nFrmCnt > MAX_OFDM_SYMBOL_WAIT
    %      if (   ( st_mobileStations(lp_nmob).RemFileSz(st_testConfig.nFrmCnt) == st_mobileStations(lp_nmob).RemFileSz(st_testConfig.nFrmCnt-MAX_OFDM_SYMBOL_WAIT+1)) & (sum(st_mobileStations(lp_nmob).MobNumber([st_testConfig.nFrmCnt - [0:MAX_OFDM_SYMBOL_WAIT-1] ])) == 0) )
    %         bad_mobiles_loc=st_testConfig.locMS(lp_nmob);
    %         st_mobileStations(lp_nmob).RemFileSz(st_testConfig.nFrmCnt-[1 0]) = -999999;
    %         st_measurement.outageCnt=st_measurement.outageCnt+1;
    %     end
    % end

    % IF SINR is extreemly low, then take away the mobile from being served
    if st_testConfig.nFrmCnt > 1
        if (   mean(st_mobileStations(lp_nmob).sinrFeedBack) < 10^(st_testConfig.SINR_Threshold/10) )
            if st_testConfig.nFrmCnt > st_testConfig.MAX_OFDM_SYMBOL_WAIT
                if (   ( st_mobileStations(lp_nmob).RemFileSz(st_testConfig.nFrmCntSlot) == st_mobileStations(lp_nmob).RemFileSz(mod((st_testConfig.nFrmCntSlot-st_testConfig.MAX_OFDM_SYMBOL_WAIT+1),st_testConfig.nuFrmPerSlot)+1)) & (sum(st_mobileStations(lp_nmob).MobNumber(mod([st_testConfig.nFrmCntSlot - [0:st_testConfig.MAX_OFDM_SYMBOL_WAIT-1] ],st_testConfig.nuFrmPerSlot)+1)) == 0) )

                    %                    mod([st_testConfig.nFrmCntSlot - [0:st_testConfig.MAX_OFDM_SYMBOL_WAIT-1] ],st_testConfig.nuFrmPerSlot)

                    bad_mobiles_loc=st_testConfig.locMS(lp_nmob);
                    st_mobileStations(lp_nmob).RemFileSz(mod(st_testConfig.nFrmCntSlot-[1 0],st_testConfig.nuFrmPerSlot)+1) = -999999;
                    st_measurement.outageCnt=st_measurement.outageCnt+1;
                end
            end
        end
    end


    if st_mobileStations(lp_nmob).RemFileSz(st_testConfig.nFrmCntSlot)<=0
        new_mobile_handles = [new_mobile_handles lp_nmob];% Store the mobile handle number
        % to be used in channel creation
        MobileIdCnt=MobileIdCnt+1;
        st_mobileStations(lp_nmob).MobNumber(st_testConfig.nFrmCntSlot) = MobileIdCnt;
        st_mobileStations(lp_nmob).RemFileSz(st_testConfig.nFrmCntSlot)=st_testConfig.MaxFileSz;
        st_mobileStations(lp_nmob).ThptAvgPast = 1;% Past average throughput to be used in the PF algorithm
        finished_locs(lp_nmob)=st_testConfig.locMS(lp_nmob);
        st_testConfig.locMS(lp_nmob)=nan;
        st_testConfig.veloMS(lp_nmob)=nan;
    else
        % Store the handles for the mobile handlers who will continue with
        % the same old mobiles
        old_mobile_handles=[old_mobile_handles lp_nmob];
    end


end
st_baseStation.new_mobile_handles(1:length(new_mobile_handles))=new_mobile_handles;


if st_testConfig.nFrmCnt > 1
    %     % Plot location of mobiles which finished transmitting
    figure(1);
    hold on;
    plot(finished_locs,'k.');
    %     % pause(1)
end

% Plot location of mobiles which have been terminated
figure(1);
hold on;
plot(bad_mobiles_loc,'rs');
% % pause(1)
% %title (['Cell Layout, Frm No = ' num2str(st_testConfig.nFrmCnt) ' out no = ' num2str(st_measurement.outageCnt) 'total bits = ' num2str(round(st_measurement.totalBitsSent)) ' Tot Users = ' num2str(MobileIdCnt)])
% title (['Frm No.=' num2str(st_testConfig.nFrmCnt-1) ' out=' num2str(st_measurement.outageCnt) ' bps/Hz=' num2str(round(st_measurement.totalBitsSent)/((st_testConfig.nFrmCnt-1)*st_testConfig.FramePeriod*st_testConfig.bw)) ' Nu Usrs=' num2str(MobileIdCnt) ' T=' num2str((st_testConfig.nFrmCnt-1)*st_testConfig.FramePeriod) 's' ' Mbps=' num2str(round(st_measurement.totalBitsSent)/((st_testConfig.nFrmCnt-1)*st_testConfig.FramePeriod*1024*1024)) ' KB=' num2str(round(st_measurement.totalBitsSent)/(8*1024))])
% xlabel(['Total chunks(blocks) in error=' num2str(st_measurement.totalFramesinError) ', BLER=' num2str(st_measurement.totalFramesinError/(st_testConfig.nFrmCnt*st_baseStation.nuSubChannels)) ])
%sprintf('\n Total Frames in Error = %d \n average FER = %f \n',  st_measurement.totalFramesinError,st_measurement.totalFramesinError/(st_testConfig.nFrmCnt*st_baseStation.nuSubChannels))
% ['Frm No.=' num2str(st_testConfig.nFrmCnt-1) ' out=' num2str(st_measurement.outageCnt) ' bps/Hz=' num2str(round(st_measurement.totalBitsSent)/((st_testConfig.nFrmCnt-1)*st_testConfig.FramePeriod*st_testConfig.bw)) ' Nu Usrs=' num2str(MobileIdCnt) ' T=' num2str((st_testConfig.nFrmCnt-1)*st_testConfig.FramePeriod) 's' ' Mbps=' num2str(round(st_measurement.totalBitsSent)/((st_testConfig.nFrmCnt-1)*st_testConfig.FramePeriod*1024*1024)) ' KB=' num2str(round(st_measurement.totalBitsSent)/(8*1024))]

% as of now this function will create a random drop of users this will be
% changed very soon where users who have finished trasmitting will quit the
% system while new users will join: This latter part has been accomplised
% [st_testConfig.locMS,st_testConfig.veloMS]=mobmove(st_testConfig.locMS,st_testConfig.veloMS,st_testConfig.aMean,st_testConfig.vMean,st_testConfig.dT,st_testConfig.rombvec/st_testConfig.coverageReductionFactor);
[st_testConfig.locMS,st_testConfig.veloMS]=mobmoveScale(st_testConfig.locMS,st_testConfig.veloMS,st_testConfig.aMean,st_testConfig.vMean,st_testConfig.dT,st_testConfig.rombvec,st_testConfig.centerBsLoc);
% %The next block of codes checks if the new user added should be allocated
% %to the desired base station! This is done by comparing the signal power of
% %all base stations at the new mobile location. If the highest power is that
% %due to the current base station, then ok, otherwise, the new mobile is not
% %put under the desired base station and a new mobile is generated for this
% %handler
%
%
% % Store the location and velocities of the old mobiles. This is needed,
% % since the mobmove function will be called several times and location of
% % the old mobiles would get updated, which is not desired. Therefore the

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
男人的天堂久久精品| 夜夜精品视频一区二区| 欧美性xxxxxxxx| 成人av手机在线观看| 国产在线国偷精品产拍免费yy| 亚洲综合在线五月| 亚洲亚洲人成综合网络| 亚洲线精品一区二区三区| 亚洲精品你懂的| 亚洲午夜在线电影| 天堂av在线一区| 免费xxxx性欧美18vr| 久久狠狠亚洲综合| 国产精品白丝jk白祙喷水网站| 国产真实精品久久二三区| 国产精品一品视频| www.亚洲精品| 在线视频国产一区| 日韩欧美中文字幕一区| 精品99一区二区三区| 国产午夜精品在线观看| 中文字幕在线免费不卡| 亚洲第一福利一区| 亚洲电影你懂得| 国产亚洲一二三区| 亚洲私人黄色宅男| 爽好久久久欧美精品| 另类小说视频一区二区| 国产98色在线|日韩| 91在线视频在线| 6080午夜不卡| 亚洲国产精品ⅴa在线观看| 亚洲精品国产精华液| 日韩精品欧美成人高清一区二区| 青青草原综合久久大伊人精品优势| 国产中文字幕精品| 欧美丝袜自拍制服另类| 2021中文字幕一区亚洲| 亚洲色图欧美激情| 蜜臀精品久久久久久蜜臀| 成人综合激情网| 欧美欧美欧美欧美首页| 久久精品欧美一区二区三区不卡| 亚洲乱码国产乱码精品精小说 | 国产精品视频一二三区 | 午夜精品久久久久久久99水蜜桃| 卡一卡二国产精品| 91久久精品国产91性色tv| 日韩免费视频一区二区| 亚洲精品成人在线| 国产精品一区二区在线观看网站| 日本道免费精品一区二区三区| 欧美大胆一级视频| 亚洲高清免费一级二级三级| 国产一区二区三区国产| 欧美日韩aaa| 国产精品不卡在线| 精品一区二区在线播放| 欧美精品丝袜中出| 一区二区三区在线观看动漫| 国产成人精品亚洲午夜麻豆| 欧美一级午夜免费电影| 亚洲一区二区在线观看视频| 成人免费视频视频在线观看免费| 欧美一级一级性生活免费录像| 亚洲免费av网站| a亚洲天堂av| 国产精品网曝门| 国产中文字幕一区| 精品三级在线看| 蜜桃av噜噜一区| 91麻豆精品国产综合久久久久久| 亚洲黄色录像片| 色香色香欲天天天影视综合网| 国产精品久久久久久久久免费相片 | 国产亚洲一二三区| 久久爱www久久做| 日韩欧美中文字幕公布| 奇米在线7777在线精品 | 激情小说欧美图片| 91精品国产福利| 日本成人在线视频网站| 51精品秘密在线观看| 日韩av电影免费观看高清完整版| 欧美在线视频全部完| 亚洲国产欧美在线| 欧美精品在线视频| 久久国产夜色精品鲁鲁99| 精品日韩欧美在线| 国产原创一区二区| 日本一区二区三区四区| 97久久超碰国产精品电影| 亚洲男帅同性gay1069| 在线观看一区二区视频| 污片在线观看一区二区| 欧美本精品男人aⅴ天堂| 国产剧情一区二区三区| 中文字幕精品综合| 91国产免费看| 青青国产91久久久久久| 久久免费视频一区| 97久久精品人人做人人爽50路| 亚洲精品国产无天堂网2021| 欧美日韩免费观看一区二区三区| 美女视频网站久久| 欧美国产1区2区| 精品少妇一区二区三区免费观看 | 亚洲一区二区在线免费观看视频 | 久久疯狂做爰流白浆xx| 欧美激情一区二区| 欧美日韩精品电影| 国产成人日日夜夜| 亚洲一区二区三区中文字幕 | 成人一区二区在线观看| 亚洲一区视频在线观看视频| 日韩一级视频免费观看在线| 成人永久看片免费视频天堂| 亚洲成av人片在线观看| 久久精品亚洲乱码伦伦中文| 91麻豆国产自产在线观看| 奇米一区二区三区| 亚洲欧美另类在线| 精品国产百合女同互慰| 欧美三级电影在线看| 国产精品一品视频| 日本欧美一区二区三区| 亚洲色图欧美偷拍| 久久久亚洲精品石原莉奈| 欧美日韩一级视频| 99久久er热在这里只有精品15 | 国产一区二区三区蝌蚪| 亚洲已满18点击进入久久| 国产日本亚洲高清| 91精品国产综合久久久蜜臀粉嫩| 99精品在线免费| 国产成人在线色| 美女看a上一区| 亚洲国产精品一区二区久久| 国产精品毛片大码女人| 久久综合一区二区| 日韩午夜在线观看| 欧美久久久久久久久久| 欧美影视一区在线| 91视视频在线直接观看在线看网页在线看| 久久91精品国产91久久小草 | 日韩欧美国产不卡| 欧美高清视频不卡网| 91国模大尺度私拍在线视频| 成人av网站大全| jlzzjlzz亚洲女人18| 波多野结衣中文一区| 成人黄色免费短视频| 粉嫩av一区二区三区| 国产成人精品免费| 国产aⅴ综合色| 国产乱码精品一区二区三区忘忧草| 青椒成人免费视频| 精品一区二区三区免费毛片爱| 日韩电影在线一区二区三区| 五月婷婷久久综合| 日本aⅴ亚洲精品中文乱码| 天堂av在线一区| 美国一区二区三区在线播放| 日本在线不卡视频| 久久99久久精品| 国产在线播放一区二区三区| 国产一区二区在线电影| 国产精品亚洲一区二区三区妖精 | 美女性感视频久久| 美女视频一区在线观看| 国产一区二区福利| 成人免费高清视频| 色噜噜久久综合| 欧美日韩激情一区二区| 欧美成va人片在线观看| 欧美激情综合网| 亚洲激情自拍视频| 青青草精品视频| 国产成人亚洲综合a∨猫咪| 99re成人在线| 欧美精品1区2区| 国产无一区二区| 亚洲精品成人少妇| 玖玖九九国产精品| 成人国产精品免费| 欧美年轻男男videosbes| 欧美videossexotv100| 国产精品国产三级国产三级人妇 | 色综合久久综合| 日韩欧美中文字幕制服| 国产精品热久久久久夜色精品三区 | 国产成人综合网站| 色激情天天射综合网| 日韩一区二区电影在线| 中文字幕一区二区三区四区 | 激情偷乱视频一区二区三区| 日韩一级黄色大片| 国产欧美日韩一区二区三区在线观看| 亚洲视频一区在线| 国产一区在线看|