From the series: Placing a Sampling Grid in a Polygon
Doug Hull, MathWorks
(Originally posted on Doug's MATLAB Video Tutorials blog.)
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.
Recorded: 18 Mar 2008
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .Select web site
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.