How can I find if a line and a circle intersect.
1 view (last 30 days)
Show older comments
I have and obstacle in the form of a circle and I am making a line in the form of a path. I would like to know if the is a way to check wether those two intersect or not. I have seen a line of code P=InterX(L1,L2) where L1,L2 are the equations of the circle and the line respectively. Is there any other way?
0 Comments
Answers (1)
Raghunandan V
on 14 Mar 2019
If you have the matrix data with you then you can try to find common numbers between those two matrices.
intersect(A,B);
This gives the code to find common numbers between 2 matrices
See Also
Categories
Find more on Resizing and Reshaping Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!