Rank: 4871 based on 22 downloads (last 30 days) and 1 file submitted
photo

Sulimon Sattari

E-mail
Company/University
UC Merced

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Sulimon
Updated   File Tags Downloads
(last 30 days)
Comments Rating
08 May 2013 Screenshot Grid of points within a polygon This function generates an array of points that lie within a given polygon Author: Sulimon Sattari polygon, points, point, within, inside, concave 22 9
  • 3.5
3.5 | 2 ratings
Comments and Ratings by Sulimon View all
Updated File Comments Rating
23 Apr 2013 Grid of points within a polygon This function generates an array of points that lie within a given polygon Author: Sulimon Sattari

Hi Richard, this program takes in only a list of polygon vertices, not a list of data points that may or may not lie within the polygon. It returns a uniform grid of points that lie within the area specified by the polygon.

23 Apr 2013 Grid of points within a polygon This function generates an array of points that lie within a given polygon Author: Sulimon Sattari

Thanks, you are right I should get those points as a single list. If you have any other suggestions let me know.

23 Apr 2013 Grid of points within a polygon This function generates an array of points that lie within a given polygon Author: Sulimon Sattari

I think people who study functions with domain as a polygon in R2 could find this useful. Its currently used to study chaotic maps like the Henon map, with polygons formed by intersections of the stable and unstable manifolds.

Comments and Ratings on Sulimon's Files View all
Updated File Comment by Comments Rating
07 May 2013 Grid of points within a polygon This function generates an array of points that lie within a given polygon Author: Sulimon Sattari VanWeelden, Shaun

Works just as described, great file!

23 Apr 2013 Grid of points within a polygon This function generates an array of points that lie within a given polygon Author: Sulimon Sattari Semechko, Anton

you should consider incorporating the sampling density parameter (i.e. number of nodes per unit area of the polygon) into your function to actually make it useful

23 Apr 2013 Grid of points within a polygon This function generates an array of points that lie within a given polygon Author: Sulimon Sattari Sattari, Sulimon

Hi Richard, this program takes in only a list of polygon vertices, not a list of data points that may or may not lie within the polygon. It returns a uniform grid of points that lie within the area specified by the polygon.

23 Apr 2013 Grid of points within a polygon This function generates an array of points that lie within a given polygon Author: Sulimon Sattari Crozier, Richard

There's also John D'errico's inhull

http://www.mathworks.co.uk/matlabcentral/fileexchange/10226-inhull

to do the same thing, and it works in any number of dimensions.

23 Apr 2013 Grid of points within a polygon This function generates an array of points that lie within a given polygon Author: Sulimon Sattari Luong, Bruno

This submission shows that the author does not understand the potential of built-in inpolygon() function, that can accomplish the same thing with much shorter syntax and faster runtime.

Contact us