Detection of percolation of nanotubes (straight line)
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
Citar como
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. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxEtiquetas
Agradecimientos
Inspirado por: Fast Line Segment Intersection
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0 |