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.

 Respuesta aceptada

You could try using interpm from the Mapping Toolbox along with inpolygon

Más respuestas (0)

Categorías

Más información sobre Interpolation en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 10 de En. de 2014

Comentada:

el 10 de En. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by