How to determine the number of connected path in percolation modelling
1 view (last 30 days)
Show older comments
Hi,
I have previously found one percolation example that uses random number generation to create a matrix consisting of '1' or '0'. After that, the program determines if there is continuous '1' throughout the horizontal and vertical direction. I wish to account for diagonal path as well. How can I do this? Thanks a lot.
0 Comments
Answers (1)
Image Analyst
on 22 Dec 2014
Steve's blog series will probably be informative for you: http://blogs.mathworks.com/steve/2011/11/01/exploring-shortest-paths-part-1/
0 Comments
See Also
Categories
Find more on Graph and Network Algorithms in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!