MATLAB: How to use Polyxpoly with muliple lines

circcirccircleintersectionpolarpolyxpoly

I Have problem with my script,
%Intersection
hold on
[xunit1,yunit1] = circcirc(x1,y1,radius1,x2,y2,radius2)
[theta,rho] = cart2pol(xunit1,yunit1);
polarplot(theta,rho);
hold on
[xunit2,yunit2] = circcirc(x1,y1,radius1,x3,y3,radius3);
[theta,rho] = cart2pol(xunit2,yunit2);
polarplot(theta,rho);
hold on
[xunit3,yunit3] = circcirc(x2,y2,radius2,x3,y3,radius3);
[theta,rho] = cart2pol(xunit3,yunit3);
polarplot(theta,rho);
hold on
%nilai R
[xunit4,yunit4] = polyxpoly(xunit1,yunit1,xunit2,yunit2,xunit3,yunit3);
and [xunit4,yunit4] cant find the point
i have [xunit1 yunit1, xunit2 yunit2, xunit3 yunit3] –> 3 lines
how if i will find the point of my 3 lines ? with polyxpoly ? or should with another function?
PLS HELP me 🙁 my last exam

Best Answer

You cannot do that.
After finding the intersection points of two of the shapes, you would have to build a new shape with appropriate additions or cut-aways, and test that against the third shape.