crop xyz map

2 次查看(过去 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!

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Surfaces, Volumes, and Polygons 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by