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

📄 crechanplan.m

📁 fading 在无线中的应用
💻 M
字号:
function obk=crechanplan(nb, nk, ncluster);% DESCRIPTION obk=crechanplan(nb,nk,ncluster)%  Makes a "frequency" plan with cluster size nb/ncluster.^2. %  The cells are numbered in the same way as in crecells. %  To get a correct symmetric frequency plan (nk*ncluster.^2)/nb %  has to evaluate into an integer.% INPUT %  nb --        Number of base stations.%  nk --        Number of channels in the system.%  ncluster --  Square root of clusters.% OUTPUT%  obk --       Binary matrix, bases by channels.%               obk(j,k)=1, if base j is an allocated channel.% TRY          %  spy(crechanplan(12,24,2))% SEE ALSO     %  crecellsnclu2 = ncluster.^2; % number of clusterscellpclust = ceil(nb/nclu2); % clustersize;obk = repmat(eye(cellpclust),[nclu2, ceil(nk/cellpclust)]);obk = obk(1:nb,1:nk); % Correct the size if                      % (nk*ncluster.^2)/nb was not an integer.

⌨️ 快捷键说明

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