I\'ve got 8 points that create the outline of an eight-sided polygon in two-dimensional space. I need to find the area enclosed be these points, but how do I do that using matla
You can use polyarea:
ar = polyarea(B(:, 1), B(:, 2));