MATLAB: Find intersection point of two lines when I have their coordinates
line
I have four COORDINATES of two lines – [x1,y1], [x2,y2], [x3,y3], [x4,y4]. Now, how to get the coordinate of their intersecting point [x,y] ? Any help ??
Best Answer
The result of the three steps I mentioned would be:
I don’t consider that too long or complicated an expression. The xy variable here is a 1-by-2 vector consisting of the x and y coordinates of the intersection.
Best Answer