Clear Filters
Clear Filters

How do you fill a given geometry with the zig-zag lines or spiral lines ?

6 views (last 30 days)
I wanted to know how do you automatically fill the given geometries with zigzag or spiral contours for the entire region??(You can actually consider a square or rectangle or a circle or any arbitrary shape)

Answers (1)

KSSV on 6 Dec 2016
Edited: KSSV on 6 Dec 2016
doc patch, fill
t = linspace(0,2*pi) ;
x = sin(t) ;

Community Treasure Hunt

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

Start Hunting!