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

回答(1 个)

Image Analyst
Image Analyst 2012-2-1

0 个投票

Yes, there is. Try inpolygon().

类别

帮助中心File Exchange 中查找有关 MATLAB 的更多信息

标签

提问:

2012-2-1

Community Treasure Hunt

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

Start Hunting!

Translated by