find intersection of graph
21 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
採用された回答
madhan ravi
2018 年 12 月 11 日
4 件のコメント
madhan ravi
2018 年 12 月 12 日
編集済み: madhan ravi
2018 年 12 月 12 日
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')
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Graph and Network Algorithms についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!