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

📄 adjcel1.m

📁 This program shows the distributions of the co-channel interference in forward and reverse link in t
💻 M
字号:
% This function is to find cellulars coordinates (Base Stations in the middle) for a given N (so as i/j)

function [CelLoc] = AdjCel(N)

[ii,jj] = CorN(N)
CelLoc = zeros(18,1)+j*zeros(18,1);
for k = 1:6
    CelLoc(k) = sqrt(3)*( ii*exp(j*pi/6+j*pi/3*(k-1)) + jj*exp(j*pi/6+j*pi/3*k));
end;
for k = 1:6
    CelLoc(2*k+5) = CelLoc(k) + sqrt(3)*( ii*exp( j*pi/6)  + jj*exp( j*pi/6+j*pi/3))*exp(j*(k-1)*pi/3) ;
    CelLoc(2*k+6) = CelLoc(k) + sqrt(3)*( ii*exp(-j*pi/6)  + jj*exp(-j*pi/6+j*pi/3))*exp(j*(k-1)*pi/3) ;
end;

⌨️ 快捷键说明

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