Generate Wavy Fibers
バージョン 1.0.1 (1.94 KB) 作成者:
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
引用
Ayad Al-Rumaithi (2024). Generate Wavy Fibers (https://www.mathworks.com/matlabcentral/fileexchange/165096-generate-wavy-fibers), MATLAB Central File Exchange. に取得済み.
MATLAB リリースの互換性
作成:
R2017b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linuxタグ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!