How to check if a pair of longitude and latitude is within an irregular circle?
1 view (last 30 days)
Show older comments
I have an irregular circle with know boundary values (longitude and latitude). Imagine it is the boundary of Mediterranean Sea.
After some interpolation work, I want to cut off any interpolated values that are outside this circle. I am thinking to do this by checking each of the interpolated values. My question is how do I check if a data set is within this circle or not?
Thanks.
0 Comments
Accepted Answer
Sean de Wolski
on 10 Jan 2014
You could try using interpm from the Mapping Toolbox along with inpolygon
More Answers (0)
See Also
Categories
Find more on Interpolation 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!