percolation
2D and 3D square matrices for counting straight-line (minimum length) percolation. Collision count is also shown.
Percolation can be used for lattice structure transport calculations in condensed matter physics. Also network theory, communication, disease transmission, and failure rate.
See also
en.wikipedia.org/wiki/Percolation
and
mathworld.wolfram.com/PercolationTheory.html
This implementation is incomplete and not sufficient for standard percolation threshold calculations since the usual definition of percolation is not used.
For more relevant implementations of percolation, see
https://github.com/topics/percolation
and
https://rosettacode.org/wiki/Percolation/Site_percolation
Cite As
ben payne (2024). percolation (https://www.mathworks.com/matlabcentral/fileexchange/22838-percolation), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Sciences > Physics > Condensed Matter & Materials Physics >
- Sciences > Physics > Thermodynamics & Statistical Physics >
Tags
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.1.1.0 | Added disclaimer that this implementation doesn't use the standard definition of percolation. Added websites that point to potentially more relevant implemenations |
||
1.1.0.0 | added explanatory comments. Improved axis label descriptions. "twodperc.m" still not plotting as desired. |
||
1.0.0.0 |