I have seen codes like this with origin as centre only, but i need to apply it for hexagonal cells of different centres.
MATLAB: I am trying to generate uniformly distributed points inside a hexagon of specific centre (other than the origin). Any help is most welcome, thank you.
helphexagon
Best Answer