⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 calclinksperservice.m

📁 这是《wcdma无线网络规划与优化》书上对应的源代码的第二部分
💻 M
字号:
%CALCLINKSPERSERVICE   CALCLINKSPERSERVICE calculates for each cell how many links are using
%                      which bit rate
%
%Inputs:
%Outputs:
%   serviceTypes          : vector holding all used bit rates in the network
%   linksPerCellPerService: (numBSs x numServices) matrix. Each row k holds the number of 
%                           links for each service bit rate at BS k
%
%Authors: Achim Wacker (AWa)
%
%Revision: 5.0.0cd   Date: 17-Jul-2001

ind = find([mobilestation.usedCarr] >= 1);
serviceTypes = unique([mobilestation(ind).R])

linksPerCellPerService = zeros(numBSs, length(serviceTypes));

for m = 1:numMSs
   if (mobilestation(m).usedCarr >= 1)
      service = find(serviceTypes == mobilestation(m).R);
      bss = find(rxLevels1(:, m));
      linksPerCellPerService(bss, service) = linksPerCellPerService(bss, service)+1;
   end
end

clear ind service bss

⌨️ 快捷键说明

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