crop xyz map

3 次查看(过去 30 天)
Eric
Eric 2012-2-1
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

回答(1 个)

Image Analyst
Image Analyst 2012-2-1
Yes, there is. Try inpolygon().
  1 个评论
Eric
Eric 2012-2-2
cool exactly what I was looking for!

请先登录,再进行评论。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by