finding intersection of two lines?
Ältere Kommentare anzeigen
Hello
I have two points B(x1,y1) , C(x2,y2), then I calculate the corrdinate of two more points J(xdd,ydd) and k(xgg,ygg) know I want to find the coordinate of yellow star point which is the intersection of line JK and BC, How can I do it? Thanks in advance.

xdd= x1(index1)+(DeltaX*D_CL)/D +(DeltaY/D)*sqrt(r^2-D_CL^2);
ydd= y1(index1)+(DeltaY*D_CL)/D-(DeltaX/D)*sqrt(r^2-D_CL^2);
xgg= x1(index1)+(DeltaX*D_CL)/D-(DeltaY/D)*sqrt(r^2-D_CL^2);
ygg=y1(index1)+(DeltaY*D_CL)/D+(DeltaX/D)*sqrt(r^2-D_CL^2);
Akzeptierte Antwort
Weitere Antworten (1)
KSSV
am 26 Jul. 2017
1 Stimme
See this file exchange, so far this is the best one I found: https://in.mathworks.com/matlabcentral/fileexchange/22441-curve-intersections?focused=5165138&tab=function
Kategorien
Mehr zu Pole and Zero Locations finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!