i am working code to create the hexagon with a circle in it and to create the random points in hexagon and circle separately.
Ältere Kommentare anzeigen
i am working on a code to create the hexagon with a circle in it and to create the random points in hexagon and circle separately. please help me how can i create random points in hexagon and circle separately.and they should remain in their boundaries. below is the graph of my code uptil now.
Akzeptierte Antwort
Weitere Antworten (1)
Image Analyst
am 21 Jan. 2016
1 Stimme
See my attached demos. Feel free to adapt.
The shape demo has code for drawing polygons such as a hexagon, pentagon, etc. The circle one shows random points in a circle.
1 Kommentar
Zahra22
am 22 Jan. 2016
Kategorien
Mehr zu Mathematics finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!