File Exchange Pick of the Week

Our best user submissions

Practical Example: Generating points inside a polygon

Notice the link at the bottom for a one minute survey that can get you into a drawing for a MATLAB t-shirt!

This ten minute video shows how to modify the help example for INPOLYGON to generate a set number of points inside of a random polygon. The coding process is shown from beginning to end, with incremental testing, debugging and commentary on my though process.

 

|
  • print

评论

要发表评论,请点击 此处 登录到您的 MathWorks 帐户或创建一个新帐户。