📄 size_con.asv
字号:
% Paper: A Closed Form Network Connectivity Formula for One-DimensinalMANETs%%%%%%%%
%%%%%%%Simulate the network size versus the network connectivity%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%1-D connectivity simualtion%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%By LiuFengwei 6.18,2006%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%Explanation:the networks sized is normalized with the transmit range%%%
%%%Two nodes A and B,with a distance of d apart from each other along a line
%%%is connected given an additional n nodes uniformly and randomly placed
%%%%%%%%%%%%%%%%%%%between node A and node B%%%%%%%%%%%%%%%%%%%%%%%%%%
Pn_d=[0.1:0.1:1];
Nodenum=[2 5 10 20];
Len_node=length(Nodenum);
Len_Pn=length(Pn_d);
%***********************simulation results******************************
d_s=zeros(Len_node,Len_Pn);
s_times=500;
for j=1:Len_node
Node=rand(Nodenum(j),1);
%***********************analytical results*******************************
d_a=zeros()
d=(1-(1-))
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -