Probabilistic Flooding Simulation
No License
This script generates a random deployed wireless network, and probabilistic broadcast is simulated. In probabilistic broadcast, each node re-transmits the packet according to a probability.
A link on probabilistic broadcast:
http://lsewww.epfl.ch/Documents/acrobat/SCS03.pdf
A link on DFS algorithm:
http://en.wikipedia.org/wiki/Depth-first_search
In this script, the network is represented by an adjacent matrix. Depth first search algorithm is used to traverse the network.
It should be noted that this simulation is in the abstract network level. MAC contention, link corruption are not simulated.
Cite As
Xiaodong Wang (2026). Probabilistic Flooding Simulation (https://www.mathworks.com/matlabcentral/fileexchange/7928-probabilistic-flooding-simulation), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Acknowledgements
Inspired by: Dijkstra Shortest Path Routing
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 | More comments to the code; |
