find intersection of graph
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponse acceptée
madhan ravi
le 11 Déc 2018
4 commentaires
madhan ravi
le 12 Déc 2018
Modifié(e) : madhan ravi
le 12 Déc 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')

Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Graph and Network Algorithms 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!