Reduced complexity, cellular automaton model (CA) of a sandpile on a 2-dimensional grid. Each time step a sandgrain is added to a random location on the grid. When the critical number of grains in a cell exceeds 3 all grains in the cell are turned to the 4 neighbors (v. Neumann Neighborhood). This avalanche may prograde and trigger even more avalanches. After a while the sandpile comes to a state of self-organized criticality.
Wolfgang Schwanghart (2022). sandpile (https://www.mathworks.com/matlabcentral/fileexchange/18215-sandpile), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!