Thank you all for your responses. So suppose I have the following array, consisting of x and y coordinates of various points
c1=[1,2; 3,4; 5,6]; % 3 x-coordinates and 3 y-coordinates
c2=[2,10; 4,8; 9,3; 10,2; 4,5]; % 5 x and y coordinates
c3=[3,8; 9,1; 7,10; 5,1]; % 4 x and y coordinates
C={c1; c2; c3};
is there a way I can calculate the area of the convhull for each cell of the array?