登录
首页 » matlab » new-DV-Hop-code

new-DV-Hop-code

于 2020-10-12 发布 文件大小:1KB
0 291
下载积分: 1 下载次数: 608

代码说明:

  改进DV-Hop定位算法 首先设置初始量,布置了一个范围为100×100m2的区域,其上随机分布100个传感器节点,其中有10个信标节点,节点的通信半径为30m。 第二步在正方形区域内产生均匀分布的随机拓扑,随机产生节点坐标并将其中十个选定为信标节点,其余九十个设为未知节点,然后画出节点分布图。 第三步通过最短路径法计算未知节点与每个信标节点的最小跳数。 第四步根据前面记录的其他信标节点的位置信息和相距跳数估算平均每跳的实际距离,用跳数估计距离的方法得出未知节点到信标节点的距离。 第五步用极大似然估计法求未知节点坐标 (Improved DV-Hop localization algorithm first set the initial amount, layout 100100m2 the area of ​ ​ a range of 100 sensor nodes randomly distributed on the 10 beacon node, the node communication radius of 30m. The second step in the square area to generate uniformly distributed random topology, random coordinates of the nodes and ten of the selected beacon node, the remaining 90 is set to unknown node, and then draw the node distribution diagram. The third step is to calculate the minimum number of hops of the unknown node and each beacon node through the shortest path method. The fourth step according to the location information of the other beacon nodes in the previous record and away from hops to estimate the average hop distance and hop count to estimate the distance to come to the distance of the unknown node to beacon nodes. The fifth step maximum likelihood estimation method and the unknown coordinates of the nodes)

文件列表:

改进DV-Hop定位算法代码.m,3829,2012-05-31

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

发表评论

0 个回复

  • [问题描述] 将N个关键字去整的记录进行整序, 以使所有关键字为非负的记录排在关键字为负的记录之前,要求使用最少的附加空间,且算法的时间复杂度为O(N...
    [问题描述] 将N个关键字去整数的记录进行整序, 以使所有关键字为非负数的记录排在关键字为负数的记录之前,要求使用最少的附加空间,且算法的时间复杂度为O(N) [输入] 待排序记录个数,各关键字的值。 [输出] 关键字从正负分开,正数在前 [存储结构] 待排序记录顺序存储。 [算法的基本思想] 快速排序算法每次任取一个记录的关键字为标准,将其余记录分为两组将,N个关键字去整数的记录进行整序, 以使所有关键字为非负数的记录排在关键字为负数的记录之前。 #include using namespace std #define MAXNUM 100//设文件的最长可能长度 void sort(int* keys, const int len)//排序 -[Problem Description] N keyword to the integer sequence the entire record. keyword so that all non-negative Records with the keyword for the negative record, at least require the use of the additional space and time complexity of the algorithm is O (N) [imported] to be sort record number, The value of the keyword. [Output] keyword separate from the pluses and minuses are several former [storage structure] scheduling records to be stored sequence. [Algorithm for the basic idea] quick sort algorithm each time a record for any keyword as a standard, The remaining records will be divided into two groups, N-keyword
    2022-03-17 21:15:57下载
    积分:1
  • erchashu
    二叉树的链式存储、先序中序遍历和层次遍历。(构造一棵树并输入数据,编写三个函数,非别是树的前序递归遍历算法、树的后序递归遍历算法、树的非递归中序遍历算法(这里的非递归以中序为例)。在主程序中调用这三个函数进行树的遍历,观察用不同的遍历方法输出的数据的顺序和验证递归与非递归输出的数据是否一样。)(Chain store binary tree, preorder traversal and hierarchy traversal.)
    2013-12-07 23:16:06下载
    积分:1
  • 留言板不需要一个库通过一个文件来存储信息,但吨..
    不需要数据库的留言板,通过一个文件存储信息,但是功能全部完备,注册留言 后台管理 很实用。-Message boards do not need a database through a file to store information, but the function of all complete, the registration message is very useful background management.
    2022-01-20 23:18:15下载
    积分:1
  • 可以有多层目录的树控件,连接库,自由的添加删除节点!
    可以有多层目录的树控件,连接数据库,自由的添加删除节点!-Can have multi-directory tree controls, connect database, free to add delete the node!
    2023-05-21 19:05:03下载
    积分:1
  • :用链表做存储求两个一元多项式相加的
    数据结构:用链表做存储结构求两个一元多项式相加的结果-Data structures: The linked list storage structure seeking to do two one dollar sum of the results of polynomial
    2022-04-28 00:57:03下载
    积分:1
  • 基于VC编写的可嵌入WINDOWS的等值线的生成源码.
    基于VC编写的可嵌入WINDOWS的等值线的生成源码.-prepared by the VC can be embedded Windows contours of the generation source.
    2022-04-21 16:56:45下载
    积分:1
  • 想学习算法的朋友,可以看看拉格朗日算法参考参考
    想学习算法的朋友,可以看看拉格朗日算法参考参考-Want to learn algorithms Friend, you can look at the Lagrangian algorithm reference reference
    2023-02-03 01:05:04下载
    积分:1
  • pgc 解调算法的c 语言实现,有详细的说明和注释。
    pgc 解调算法的c 语言实现,有详细的说明和注释。-PGC demodulation algorithm c language, has detailed instructions and notes.
    2023-01-27 22:25:03下载
    积分:1
  • small business card management system is implemented FOSS
    名片管理小系统实施源码-small business card management system is implemented FOSS
    2022-09-29 01:35:04下载
    积分:1
  • VB航空公司管理系统,库使用SQL2
    VB航空公司管理系统,数据库使用SQL2-VB airline management system, using the SQL2000 database
    2022-01-25 14:58:32下载
    积分:1
  • 696516资源总数
  • 106436会员总数
  • 7今日下载