Probabilistic Flooding Simulation

This simple script simulates the probabilistic flooding in wireless networks.
3.7K Downloads
Updated 5 Jul 2005

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 (2024). Probabilistic Flooding Simulation (https://www.mathworks.com/matlabcentral/fileexchange/7928-probabilistic-flooding-simulation), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on WSNs in Help Center and MATLAB Answers
Acknowledgements

Inspired by: Dijkstra Shortest Path Routing

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.0.0

More comments to the code;