Generate Wavy Fibers
Versión 1.0.1 (1,94 KB) por
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
Citar como
Ayad Al-Rumaithi (2024). Generate Wavy Fibers (https://www.mathworks.com/matlabcentral/fileexchange/165096-generate-wavy-fibers), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2017b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxEtiquetas
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.