Generate Wavy Fibers

Generate random wavy fibers inside a box
11 Downloads
Updated 2 May 2024

View License

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

Cite As

Ayad Al-Rumaithi (2024). Generate Wavy Fibers (https://www.mathworks.com/matlabcentral/fileexchange/165096-generate-wavy-fibers), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2017b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0