creating hexagon patterns using this algorithm
Ältere Kommentare anzeigen
step1: Make a grid size of 512x512 step2: Go to the grid center step3: Form an initial hexagon about the center of the grid and give numbering to each node or vertex of hexagon like (0,1,,2,3,4,6) taking 0 as center step4: Ask the user to enter any of the node like (0 to 6) of the hexagon step5: After reading the entered location in step4 make another hexagon taking user specified location as center and also tell which nodes are new to the current hexagon created with same nodes (0 to 6) or non overlapped nodes.
2 Kommentare
Have a look here: https://mathworks.com/matlabcentral/answers/6200-tutorial-how-to-ask-a-question-on-answers-and-get-a-fast-answer
What have you tried so far?
sravankumar v
am 31 Aug. 2018
Antworten (0)
Kategorien
Mehr zu Clustering 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!