随机航点模型的Matlab代码我要分享

Random Waypoint Model matlab code

matlab

关注次数: 267

下载次数: 0

文件大小: 146.03 kB

代码分类: 其他

开发平台: matlab

下载需要积分: 2积分

版权声明:如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

代码描述

中文说明:随机航点移动模型包括改变方向和/或速度之间的暂停时间。移动节点(MN)通过停留在一个位置一定时间开始(即,暂停时间)。一旦这个时间到期时,移动节点在仿真区随机选择一个目的地和一个在[minspeed,MAXSPEED]之间均匀分布的速度。移动节点以选定的速度移动至新选择的目的地。 到达后,移动节点暂停一段时间,然后再次开始这个过程。


English Description:

The Random Waypoint Mobility Model includes pause times between changes in direction and/or speed . A mobile node(MN) begins by staying in one location for a certain period of time (i.e., a pause time). Once this time expires, the MN chooses a random destination in the simulation area and a speed that is uniformly distributed between [minspeed, maxspeed]. The MN then travels toward the newly chosen destination at the selected speed. Upon arrival, the MN pauses for a specified time period before starting the process again.


代码预览