crop xyz map

1 view (last 30 days)
Eric
Eric on 1 Feb 2012
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

Answers (1)

Image Analyst
Image Analyst on 1 Feb 2012
Yes, there is. Try inpolygon().
  1 Comment
Eric
Eric on 2 Feb 2012
cool exactly what I was looking for!

Sign in to comment.

Categories

Find more on Surfaces, Volumes, and Polygons in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!