資源簡介
仿真源碼包括了多層異構(gòu)蜂窩網(wǎng)絡(luò)中基于齊次泊松點(diǎn)過程(HPPP)的建模方法,一篇介紹該模型的12年發(fā)表在IEEE trans的論文。以及傳統(tǒng)六邊形建模方法和信道增益矩陣的計(jì)算。
代碼片段和文件信息
function?[]?=?Channel_Gain(Cell_NumberUE_Coords_xUE_Coords_yEnodeBs)
%函數(shù)功能:建立小區(qū)拓?fù)鋱D,計(jì)算給定坐標(biāo)點(diǎn)與所選基站間的信道增益
%參數(shù)說明:
%Input?args
%Cell_Number:需要建立拓?fù)涞倪呴L,實(shí)際畫出Cell_Number^2個(gè)小區(qū)
%UE_Coords_x:UE橫坐標(biāo)
%UE_Coords_y:UE縱坐標(biāo)
%EnodeBs:所選小區(qū)序號
%Output?args
%Distance:輸入坐標(biāo)與選定小區(qū)基站間距離
%H:信道增益
%%?Create?EnodeBs
theta?=?linspace(02*pi7);?%產(chǎn)生從0~2*pi的7點(diǎn)矢量,將360度6等分成每個(gè)60°
r=1;????%小區(qū)半徑為1
Bs_Location=zeros(12Cell_Number^2);%建立基站坐標(biāo)矩陣
for?i=0:Cell_Number-1???%畫出蜂窩拓?fù)?br/>????for?j=0:Cell_Number-1
????????x=i*1.5;
????????y=(j+mod(i2)/2)*sqrt(3);
????????Bs_Location(::i*Cell_Number+j+1)=[xy];
????????Topology=plot(r*cos(theta)+xr*sin(theta)+y‘b-‘);
????????set(Topology‘LineWidth‘1.5);?%線條加粗
????????hold?on;
????end
end
for?i=1:Cell_Number^2???%標(biāo)注小區(qū)序號
????text(Bs_Location(11i)-0.1Bs_Locat
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件?????671907??2013-06-20?16:55??HPPP?model\A?tractable?approach?to?coverage?and?rate?in?cellular?network.pdf
?????文件???????1656??2013-04-10?16:45??HPPP?model\Channel_Gain.m
?????文件????????774??2013-04-15?09:21??HPPP?model\HPPP.m
?????目錄??????????0??2013-08-02?15:35??HPPP?model
-----------?---------??----------?-----??----
???????????????674337????????????????????4
評論
共有 條評論