flag if plot Intersects itself
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Ahmed
le 29 Août 2022
Réponse apportée : Bruno Luong
le 29 Août 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 commentaire
Walter Roberson
le 29 Août 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.
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!