crop xyz map

I have a topographic map in xyz format (x,y,elevation). I'm wondering if there exists a function that returns the points inside a given closed polygon.
Input would be at least 3 pts and output would be points inside this polygon.
THank you very much,
Eric

Respuestas (1)

Image Analyst
Image Analyst el 1 de Feb. de 2012

0 votos

Yes, there is. Try inpolygon().

1 comentario

Eric
Eric el 2 de Feb. de 2012
cool exactly what I was looking for!

Iniciar sesión para comentar.

Etiquetas

Preguntada:

el 1 de Feb. de 2012

Community Treasure Hunt

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

Start Hunting!

Translated by