Plotting a grid of points with inpolygon check
Show older comments
I have the latitude and longitude coordinates for the points of a polygon (is_15_ok_ks.txt).
I want to create a grid with ranges x = -99.5 : 0.1 : -95.6, y = 33.6 : 0.1 : 37.6
I then need to plot a series of nodes/points. Each node is at the centre of each 0.1x0.1 cell (such that the nodes are the ranges x = -99.45 : 0.1 : -95.65, y = 33.65 : 0.1 : 37.55)
I then will plot the polygon.
Then using inpolygon, I want to be able to determine which of those nodes are inside the polygon (and potentially retrieve each of their coordinates).
Any help on how I would do this?
Thanks Gareth
1 Comment
Gareth Maver
on 14 Mar 2016
Accepted Answer
More Answers (0)
Categories
Find more on Geometric Geodesy in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!