登录
首页 » Matlab » leach路由协议无线传感器网络

leach路由协议无线传感器网络

于 2022-04-15 发布 文件大小:4.98 kB
0 84
下载积分: 2 下载次数: 1

代码说明:

leach改进协议 选举方法采取 LEACH 协议的方法:每个节点随机产生一个 0~1 的数,如果这个数小于阈值 T ( n ) ,则该节点向周围节点广播它是簇头的消息 ( 广播中包含 ID 和当前量 ) ,并加入候选簇首集合,如果通信范围内的相邻节点也为簇首,则在候选集合中比较两者的能量,能量小的退出集合作为普通节点。 在选举簇首时,考虑节点的剩余能量和节点到基站的距离,如果节点能量充足,距离基站较近则增大阈值 T ( n ) ,提高该节点成为簇首的概率,如果节点能量较低,距离基站较远,则降低阈值 T ( n ) ,减小该节点成为簇首的概率 。 T ( n )的计算公式为:

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • chap01_8
    先进pid matlab 仿真 刘金琨 第版 第一章程序 pid matlab simulink liujinkunc hap01_8.rar (Liu Jinkun advanced first pid matlab simulation program version of the first chapter pid matlab simulink liujinkunc hap01_8.rar)
    2009-07-17 21:26:01下载
    积分:1
  • 4-ary-LDPC
    4-ary LDPC matlab code
    2020-08-25 13:28:16下载
    积分:1
  • ARsimu
    采用AR法模拟风速,计算时间较短,但精度相对于谐波叠加法略差(AR method using simulated wind speed, the calculation time is shorter, but the accuracy is slightly worse relative to the harmonic superposition)
    2014-12-14 20:44:03下载
    积分:1
  • matlab
    matlab program to practice
    2010-11-10 11:16:03下载
    积分:1
  • MATLAB-BP
    利用MATLAB编写的神经网络源程序,很实用(using MATLAB prepared by the neural network program, a very practical)
    2007-03-20 09:25:58下载
    积分:1
  • EKF
    EKF的纯净程序,没有夹杂其他信息,本人经过测试,可以放心使用(EKF pure process, not mixed with other information, I tested, safe to use)
    2011-09-28 10:50:32下载
    积分:1
  • vc310
    Single phase A.C. voltage controller using matlab simulink
    2014-01-29 17:52:16下载
    积分:1
  • mountainroad
    一个解决逢山开路问题的matlab程序,使用先看说明(Mountains and open a solution to the problem of matlab, the use of look at the description)
    2007-09-04 09:33:28下载
    积分:1
  • DCM_speed_control
    parameter of dc motor
    2014-12-10 14:42:14下载
    积分:1
  • path_planning-master
    新型扫地机器人的一种路径规划算法A path planning algorithm for sweeping robot(A path planning algorithm for sweeping robot)
    2020-07-08 23:38:59下载
    积分:1
  • 696516资源总数
  • 106668会员总数
  • 21今日下载