Filter löschen
Filter löschen

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

2 Ansichten (letzte 30 Tage)
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)

Antworten (1)

KSSV
KSSV am 6 Dez. 2016
Bearbeitet: KSSV am 6 Dez. 2016
doc patch, fill
t = linspace(0,2*pi) ;
x = sin(t) ;
patch(t,x,'r')

Community Treasure Hunt

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

Start Hunting!

Translated by