bestserverul.m

来自「It s a simulation for WCDMA Radio Networ」· M 代码 · 共 26 行

M
26
字号
%BESTSERVERUL   [neededMsTxPowerV, bestServerV, deltaSHOV] = BestServerUL(perf, linklossULM,
%               activeSetM);
%               calculates needed ms tx power, best server and distance from the 
%               next best server for each MS assuming wideAreaCovEbNo and wideAreaCovR. 
%               Calculation is done by using the coverage threshold found in RlbUL.m.
%               This is later corrected to the right bit-rates and Eb/No:s in CalcMStx.m.
%               bestServer will be searched only from the active set described in the
%               activeSetM matrix.
%				  
%Inputs:
%   PERF            : structure holding the performances of the BSs
%   LINKLOSSM       : (NumBSs * NUMMSS) matrix holding the link loss of BS,
%                     1...NumBSs, to the mobile stations 1,...,numMSs.
%   ACTIVESETM      : (m,n), m=1,..,numBSs, n=1,...,numMSs matrix holding 1 if BS(m) is in 
%			             the active set of MS(n) and 0 if not.  
%Outputs:   
%   NEEDEDMSTXPOWERV: NUMMSS-vector of the minimum needed average (over multi-path fading) 
%                     transmit powers needed for each mobile assuming wideAreaCovEbNo and -R.
%   BESTSERVERV     : NUMMSS-vector of the bestserver index for each MS. 
%   DELTASHOV       : NUMMSS-vector of the distances between the best and the next best server,
%                     seen from each mobile
%Comment:
%   Best server in this context is that BS to which mobile has to transmit with the
%   smallest power
%
%Authors: Kari Sipil

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?