This is LEACH (Low-Energy Adaptive Clustering Hierarchy) routing protocol for a WSN. It creates a 100-node network with a random position in an 100 square meter field. During Set Up phase it elects cluster heads based on LEACH's cluster head election probability "p" which is included in the "threshold" parameter. In the Steady State phase, data transmission occurs, where energy dissipation levels are calculated. Some graphs such as no. of transmissions are added at the end. Parameters are given in the beggining and can be changed depending on the results you want to achieve
Cite As
Alex Zattas (2024). LEACH (https://www.mathworks.com/matlabcentral/fileexchange/66574-leach), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Acknowledgements
Inspired by: Low Energy Adaptive Clustering Hierarchy protocol (LEACH)
Inspired: PEGASIS (Power-efficient gathering in sensor information systems)
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | description text edited edit |