
 %zde zadejte 6 graficky odectenych pruseciku:
N =[429, 386;446, 382;432, 408; 477, 406; 443, 413;475, 396];

o11=double(N(1,1));
o12=double(N(1,2));
o21=double(N(2,1));
o22=double(N(2,2));
o31=double(N(3,1));
o32=double(N(3,2));
o41=double(N(4,1));
o42=double(N(4,2));
o51=double(N(5,1));
o52=double(N(5,2));
o61=double(N(6,1));
o62=double(N(6,2));
xN=[o11,o21,o31,o41,o51,o61];
yN=[o12,o22,o32,o42,o52,o62];
figure
[CH,	Area]	=	convhull (xN,yN);
plot(xN(CH),yN(CH),'b',	xN,yN,'bo')
Area