Clear Filters
Clear Filters

create hexagonal grid with a central cell

30 views (last 30 days)
Shan  Chu
Shan Chu on 18 May 2016
Edited: Tejas on 20 May 2016
Dear all, I want to create a n-tier hexagonal grid with a central cell. Could you please help. Best regards
  1 Comment
Tejas
Tejas on 20 May 2016
Edited: Tejas on 20 May 2016
The following are some useful links that can help you:
1) A similar question was asked here .
2) File Exchange Submission - hexagonalGrid - creates hexagonal grid points starting from the origin.
>> pts = hexagonalGrid([0 0 12 12], [0 0], 2)
>> scatter(pts(:,1),pts(:,2))

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!