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.

You are now following this Submission

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 (2026). 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 .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
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