percolation

Version 1.1.1.0 (3.55 KB) by ben payne
2D and 3D square matrices for counting straight-line percolation and collision count.
2.8K Downloads
Updated 27 May 2019

View License

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
Created with R2008b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Condensed Matter & Materials Physics in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
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