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().

1 件のコメント

Eric
Eric 2012 年 2 月 2 日
cool exactly what I was looking for!

サインインしてコメントする。

タグ

質問済み:

2012 年 2 月 1 日

Community Treasure Hunt

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

Start Hunting!

Translated by