필터 지우기
필터 지우기

create hexagonal grid with a central cell

조회 수: 30 (최근 30일)
Shan  Chu
Shan Chu 2016년 5월 18일
편집: Tejas 2016년 5월 20일
Dear all, I want to create a n-tier hexagonal grid with a central cell. Could you please help. Best regards
  댓글 수: 1
Tejas
Tejas 2016년 5월 20일
편집: Tejas 2016년 5월 20일
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))

댓글을 달려면 로그인하십시오.

답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by