无线传感器网络节能路由协议研究仿真程序毕设等.docVIP

  • 37
  • 0
  • 约2.11万字
  • 约 23页
  • 2017-02-20 发布于重庆
  • 举报

无线传感器网络节能路由协议研究仿真程序毕设等.doc

无线传感器网络节能路由协议研究仿真程序毕设等

clear; clear; %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% PARAMETERS %%%%%%%%%%%%%%%%%%%%%%%%%%%% w=4; %Field Dimensions - x and y maximum (in meters)100*100的区域 xm = 100; ym = 100; %x and y Coordinates of the Sink sink节点的坐标 sink.x =100; sink.y =200; %Number of Nodes in the field 总共200个节点 n=50*w; %Optimal Election Probability of a node %to become cluster head 簇节点选择概率 p=0.05; packetLength = 4000;%数据包长度 ctrPacketLength = 100;%控制包长度 %Energy Model (all values in Joules) %Initial Energy 初始能量 Eo = 0.5; %Eelec=Etx=Erx enode0 = 0; ETX=50*0.000000001; %50nj/bit ERX=50*0.000000001; %50nj/bit %Tra

文档评论(0)

1亿VIP精品文档

相关文档