How to define an area with 1s to use 'areamat' function
10 visualizaciones (últimos 30 días)
I am planning to use areamat function to calculate total area of african continent. I have set of lat lon data (set of data separated with NaN NaN). As areamat function calculate area of the region defined by 1s or zeros i want to say,
for all the values >=min(lon) and >=min(lat) and <=max(lat) and <=max(lat) are
africa = (those values).
i have not use this function before. So i am not sure if I misunderstood this funstion either.
I would truly appreciate if anyone could help me with this funtion and write a condiction as above.