How to check if a pair of longitude and latitude is within an irregular circle?

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.

 Akzeptierte Antwort

Sean de Wolski
Sean de Wolski am 10 Jan. 2014
You could try using interpm from the Mapping Toolbox along with inpolygon

Weitere Antworten (0)

Kategorien

Mehr zu Interpolation finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 10 Jan. 2014

Kommentiert:

am 10 Jan. 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by