MATLAB: Calculating Area of Polygon

area of polygon

Hi, I am trying to calculate the area of each grid point in a polygon data set. I have latitude and longitude arrays which are 224X1 and 240X1 respectively. How do I go about writing code to determine the area covered in each grid cell when the resolution is 1/8th of a degree? I am a beginner to matlab so any and all help is appreciated!

Best Answer

Did you know about the polyarea() function, and try to use it?
Related Question