Hexagonal Pattern Generator with 1/6th Symmetry

I am trying to create fuel loading patterns for a hexagon-shaped reactor core. Most of the design work is trial and error and I would like to see if I can use MATLAB to generate random patterns for possible core designs. The picture below illustrates what I am working with:
I only need a method to make patterns for 1/6th of the core since it is symmetric, though it would be helpful if I can apply the symmetry condition to make the full core. I only need to move around the orange and green cells.
I've found posts on how to make hexagonal lattices but I haven't found anything on filling in the hexagons or how to generate patterns with two colors. Any direction or suggestions on implementing this would be very helpful.

 Akzeptierte Antwort

Eman S
Eman S am 19 Aug. 2018

1 Stimme

You can check the following file exchange functions;
=================================================================================
================================================================================= https://www.mathworks.com/matlabcentral/fileexchange/62355-honeycomb
================================================================================= https://www.mathworks.com/matlabcentral/fileexchange/4024-pattern-generator-for-matlab
================================================================================= https://www.mathworks.com/matlabcentral/fileexchange/67680-hexagonal-grid-generator-with-center-points
They may help you.

Weitere Antworten (0)

Kategorien

Gefragt:

am 22 Feb. 2018

Kommentiert:

HG
am 14 Jun. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by