How to find intersection points in a graph?

4 views (last 30 days)
Hi everyone. I have x and y coordinates for every cell of different colors (I have attached these coordinates in the codice_opcode.zip here). If I plot them, I obtain something like this:
I would like to print in the workspace only the x and y coordinates of the intersection points (like the ones circled in red in the following figure). For intersection points I mean the points that intersect at least three segments. Could you help me?
P.s. I would like to make the procedure as automated as possible, since I have to repeat it for different graphs similar to this one posted

Accepted Answer

KSSV
KSSV on 14 Jun 2022

More Answers (0)

Products


Release

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!