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 CenterFile Exchange에서 Elementary Polygons에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by