generateTubesFlexible
Version 1.0.0 (1.31 KB) by
Abdul Sattar
Generate plot of randomly deposited wires
function [x1, y1, x2, y2]=generateTubesFlexible(lmin, lmax, sw, sl, n,ps,flx)
Plots randomly deposited lines of lengths between lmin and lmax on an area defined by sw and sl (substrate widht and substrate length. total number of lines (tubes, nanowires whatever) is n and each line can be bent after length ps (each line consist of segments of lengths ps). flx define flexibility of how much angle two adjacent segments can have.
Cite As
Abdul Sattar (2026). generateTubesFlexible (https://www.mathworks.com/matlabcentral/fileexchange/82893-generatetubesflexible), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2018b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
