how to use inpolygon ?

7 views (last 30 days)
pruth
pruth on 19 Oct 2015
Answered: Image Analyst on 19 Oct 2015
i have table. 1st column is latitude 2nd is longitude and 3rd is bromine data. this is a girded data.this data is actually collected by polar satellite .
so now i want bromine data over latitude = -37.48; longitude = 77.34; using polygon. can anybody help?

Answers (1)

Image Analyst
Image Analyst on 19 Oct 2015
Why do you want to use inpolygon()? Just use indexing:
indexesToUses = (latitude > -37.48) & (longitude > 77.34);
extractedBroming = bromine(indexesToUses);

Categories

Find more on Elementary 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!