How to find intersection between two line
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/286172/image.png)
Could anyone help me with this? I'm trying to find all of the points where my y and y_line interection. Thank you so much.
0 Kommentare
Antworten (2)
KALYAN ACHARJYA
am 21 Apr. 2020
Bearbeitet: KALYAN ACHARJYA
am 21 Apr. 2020
idx=find(x==y)
And from the index, you get the value.
1 Kommentar
Rik
am 21 Apr. 2020
This will only turn up values that are exactly equal. Considering that float rounding errors are likely, this could miss several intersections.
Siehe auch
Kategorien
Mehr zu Line Plots 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!