how to use inpolygon ?
2 views (last 30 days)
Show older comments
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?
0 Comments
Answers (1)
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);
0 Comments
See Also
Categories
Find more on Elementary Polygons in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!