A simple fire spreading model which uses probability for a fire to spread to trees in its Moore Neighbouhood (https://en.wikipedia.org/wiki/Moore_neighborhood). Once a tree has been burnt, one time step after igniting, it does not get reignited. The forest is generated with a probability of each value of a matrix of being a tree, making that probability the (on average) percentage of the forest that is trees. The function stops when there are no more fires left in the forest, with the end result being visible with the number of time steps it took to get to that result.
Martin Thomas (2021). Fire Spread Model (https://www.mathworks.com/matlabcentral/fileexchange/74499-fire-spread-model), 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!