flag if plot Intersects itself

1 visualización (últimos 30 días)
Ahmed
Ahmed el 29 de Ag. de 2022
Respondida: Bruno Luong el 29 de Ag. de 2022
I have an array of size n by 2 where column one has the x coordinates whilst column 2 has the y coordinates. I plan to plot these coordinates but I wanted to know if there is an easy way to know if this plot is going to intersect itself across the range of points n without manually plotting and observing the resuly.
  1 comentario
Walter Roberson
Walter Roberson el 29 de Ag. de 2022
No, there are ways but no easy ways.
Plotting is not robust enough to determine this, as the distance between lines might be less than the width of a pixel.

Iniciar sesión para comentar.

Respuesta aceptada

Bruno Luong
Bruno Luong el 29 de Ag. de 2022

Más respuestas (0)

Categorías

Más información sobre Scatter Plots en Help Center y File Exchange.

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by