文件名称:wsn单跳传输
文件大小:2KB
文件格式:M
更新时间:2015-08-28 04:00:46
单跳
clear all %Field Dimensions - x and y maximum (in meters) xm = 50; ym = 50; %x and y Coordinates of the Sink sink.x =25; sink.y =-100; %Number of Nodes in the field n = 100 %Optimal Election Probability of a node %to become cluster head % p=0.05; packetLength = 2000;%数据包长度 % ctrPacketLength = 100;%控制包长度 %Energy Model (all values in Joules) %Initial Energy Eo = 0.5;