nodeMobilityRandomWalk
Description
Use the nodeMobilityRandomWalk object to implement a random walk
2-D mobility model.
Creation
Syntax
Description
creates a default random walk 2-D mobility model.randomWalkModel = nodeMobilityRandomWalk
sets properties using one or more optional name-value arguments. For example,
randomWalkModel = nodeMobilityRandomWalk(PropertyName=Value)BoundaryShape="circle" sets the shape of the node mobility area to
"circle".
Note that, in the random walk model, a wireless node moves in a random direction either for a fixed amount of time (constant-time mode) or a fixed distance (constant distance mode). In constant-time mode, the node changes direction after traveling for a fixed duration, and its speed might change randomly. In constant-distance mode, the node changes direction after traveling a specified distance, and its speed might also change randomly.
Properties
Examples
Version History
Introduced in R2026a