I am trying to find the intersect point of two lines using "InterX".
More concretely, I want to find the intersect point of the line L1 which two coordinates are x1=1,y1=1 and x2=3 y2=6
and the line L2 which two coordinates are x1=-2 y1=8 and x2=2 y2=-1
I don´t know if I understanded well the "InterX" function, but here is the code I have executed:
And the result Matlab gives to me is completly absurd, in the following image:
What am I doing wrong? How can I properly use the "InterX" function? I have searched in the community but I didn´t understand it very well as you can see