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.

 

|

Comments

To leave a comment, please click here to sign in to your MathWorks Account or create a new one.