find intersection of graph
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
NA
am 11 Dez. 2018
Bearbeitet: madhan ravi
am 12 Dez. 2018
I have this graph like this
plot ([0,1,1,0,0,1,0.5,0],[0,1,0,1,0,0,1.5,0],'-')
how can I find all intersections in this graph?
0 Kommentare
Akzeptierte Antwort
madhan ravi
am 11 Dez. 2018
4 Kommentare
madhan ravi
am 12 Dez. 2018
Bearbeitet: madhan ravi
am 12 Dez. 2018
x1=[0,1,1,0,0,1,0.5,0]
y1=[0,1,0,1,0,0,1.5,0]
P = InterX([x1;y1]); % P is the intersection of curves
plot(x1,y1,P(1,:),P(2,:),'ro')

Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Graph and Network Algorithms finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!