the code helps find weather, a network of randomly deposited straight line (nanotubes or whatever) in a defined area ( a substrate), percolate or not. If percolate how strong is network.
method may be consider monte carlo.
Following things are defined in MainFileV2.m
1) Length and width of substrate can be defined
2) Number of nanotubes ( lines)
3) minimum and maximum length of tubes (lines)
the MainFile depend on two function files
1) generateTubes.m : which randomly generate tubes/lines in desired length range and with the the defined substrate in given quantity (these values are defined in mainfile and are passed to this function. This function then returns the matrix having information of tubes location (start point and end points)
substrate edges (between which the percolation is tested) are added in this matrix start and end .
2) LINESEGMENTINTERSECT( (by U. Murat Erdem)
Finds if two lines are connected or not see details on author's (U. Murat Erdem) pages
引用格式
Abdul Sattar (2024). Detection of percolation of nanotubes (straight line) (https://www.mathworks.com/matlabcentral/fileexchange/82683-detection-of-percolation-of-nanotubes-straight-line), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux标签
致谢
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0 |