Generate Wavy Fibers
Version 1.0.0 (1,94 ko) par
Ayad Al-Rumaithi
Generate random wavy fibers inside a box
Generate randomly oriented fibers wavy inside a box with example file.
function Fiber=Generate_Fiber(x,y,z,L,M,N,DTheta)
where:
x=[x1 x2]: x boundaries of the box
y=[y1 y2]: y boundaries of the box
z=[z1 z2]: z boundaries of the box
L: Length of fibers Segments
M: Number of segments in each fiber
N: Number of fibers
DTheta: Maximum angle between subsequent fibers segments directions
Fiber: {N,1} cell array. Each containing (M+1,3) matrix containing M+1 vertices of the M segments of each fiber
Citation pour cette source
Ayad Al-Rumaithi (2024). Generate Wavy Fibers (https://www.mathworks.com/matlabcentral/fileexchange/165096-generate-wavy-fibers), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Créé avec
R2017b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0 |