This is the second video in this series, it shows you how to run a very simplistic optimization. For a simple problem like this one, the algorithm is more than sufficient to find a correct answer to what size edge is needed set the grid spacing such that the right number of points are placed inside the polygon.
Original example that inspired this video series [Click here]
Part one of this series [Click here]
To leave a comment, please click here to sign in to your MathWorks Account or create a new one.