Random Waypoint mobility model in a Circular Area

This project model the Random Waypoint mobility model with constant speed and no stopping time in a circular area.
17 Downloads
Updated 10 May 2023

View License

This mlx file code models the Random Waypoint (RWP) mobility model of nodes in a circular area. It is assumed constant speed and no stopping time. The code consists of three blocks mainly:
  • Paremeters block: To define the total of nodes, simulation time, the radius of the circular area, speed of nodes, and the granularity for time and position.
  • Random Way Point block: Implements the mobility of nodes in a circular area with a random radius and angle per node.
  • Plotting: Plot a video sequence of the mobility of nodes in the circular area.
The code can be used to later evaluate statistics of the RWP model regarding the location of nodes and their traveling time.

Cite As

Jorge Torres Gómez (2024). Random Waypoint mobility model in a Circular Area (https://www.mathworks.com/matlabcentral/fileexchange/129284-random-waypoint-mobility-model-in-a-circular-area), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2022b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.1

The code includes the update of the colors of nodes. When nodes are on the outer side of an inner circle, their colors switch from blue to red.

1.0.0