Borrar filtros
Borrar filtros

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

2 visualizaciones (últimos 30 días)
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)

Respuestas (1)

KSSV
KSSV el 6 de Dic. de 2016
Editada: KSSV el 6 de Dic. de 2016
doc patch, fill
t = linspace(0,2*pi) ;
x = sin(t) ;
patch(t,x,'r')

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by