Effacer les filtres
Effacer les filtres

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

2 vues (au cours des 30 derniers jours)
Kuber Reddy Gorantla
Kuber Reddy Gorantla le 6 Déc 2016
Modifié(e) : KSSV le 6 Déc 2016
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)

Réponses (1)

KSSV
KSSV le 6 Déc 2016
Modifié(e) : KSSV le 6 Déc 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