资源简介

Heterogeneous Cellular Networks (Heterogeneous networks, multiple tier networks) simulation by matlab 异构网(异构蜂窝网,多层异构网)matlab 建模。

资源截图

代码片段和文件信息

function vecters = findVecters( points dist)
% Given the center of hexagonsfinding its six vecters
%  points: center points of hexagons
%  dist: distance among the centers of hexagons
L=size(points1);
vecters=zeros(L72);
a=dist/sqrt(3);
for i=1:L
    x=points(i1);
    y=points(i2);
    vecters(i11)=x+a;
    vecters(i12)=y;
    vecters(i21)=x+a/2;
    vecters(i22)=y+a*sqrt(3)/2;
    vecters(i31)=x-a/2;
    vecters(i32)=y+a*sqrt(3)/2;
    vecters(i41)=x-a;
    vecters(i42)=y;
    vecters(i51)=x-a/2;
    vecters(i52)=y-a*sqrt(3)/2;
    vecters(i61)=x+a/2;
    vecters(i62)=y-a*sqrt(3)/2;
    vecters(i71)=x+a; % in order to plot close hexagon
    vecters(i72)=y;   
end
end


 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2015-05-04 09:31  Heterogeneous Cellular Networks\
     文件         741  2013-11-07 10:33  Heterogeneous Cellular Networks\findVecters.m
     文件        2119  2013-10-06 12:23  Heterogeneous Cellular Networks\generateBS.m
     文件         971  2014-04-04 08:58  Heterogeneous Cellular Networks\generateMBS.m
     文件        2172  2013-11-16 15:08  Heterogeneous Cellular Networks\generatePBS.m
     文件        1806  2014-04-04 08:58  Heterogeneous Cellular Networks\generatingUsers.m
     文件       15252  2013-12-04 15:56  Heterogeneous Cellular Networks\HetNet.fig
     文件        1085  2014-04-11 10:10  Heterogeneous Cellular Networks\test.m

评论

共有 条评论