createchannelmap.m

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

M
21
字号
%CREATECHANNELMATRICES   CREATECHANNELMATRICES creates vectors and matrices holding a channel index
%                        which can be used to refer to a linkPerfTables in the array linkPerf of all
%                        linkPerfTables. Also the mobilestation and basestation specific link performance
%                        parameters are calculated here. Channel is originally a BS parameter and
%                        based on minimum linkloss from different base stations a channel is chosen for
%                        mobilestations and pixels.
%
%Inputs:
%   basestation : array of base station structures. The field .channel is used as input.
%   linklossDL  : DL linklosses from all BS:s to all pixels
%   yPixels     : number of pixels in the map, in y direction
%   xPixels     : number of pixels in the map, in x direction
%   indBStype1/2: indices of BSs of type 1/2
%
%Outputs:
%   channels    : vector of channel indeces found in the scenario
%   numChannels : number of channels found in the scenario
%   channelMap  : yPixels x xPixels matrix of channel indeces to each pixel. This 
%                 is determined by the BS with minimum linkloss to the pixel.
%   
%Authors: Kari Sipil

⌨️ 快捷键说明

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