how to use inpolygon ?

1 回表示 (過去 30 日間)
pruth
pruth 2015 年 10 月 19 日
回答済み: Image Analyst 2015 年 10 月 19 日
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?

回答 (1 件)

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

カテゴリ

Help Center および File ExchangeSurfaces, Volumes, and Polygons についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by