MATLAB Answers

Find the intersecting points

3 views (last 30 days)
Raju Chowdhury
Raju Chowdhury on 22 Jan 2020
Edited: Raju Chowdhury on 22 Jan 2020
How can I calculate the intersecting points (red circled) from the following image?

  2 Comments

Ajay Kumar
Ajay Kumar on 22 Jan 2020
How is this plot formed? Could you help with the code?
Raju Chowdhury
Raju Chowdhury on 22 Jan 2020
This is not a plot. This is an image ( just an trapezoidal shape object kept on a flat surface).

Sign in to comment.

Answers (1)

KSSV
KSSV on 22 Jan 2020
If you have the image in hand.
  1. Get the locations/ positions i.e (x,y) for both the regions using logical indexing.
  2. Get the boundary of both the regions using boundary.
  3. Use InterX from the link: https://in.mathworks.com/matlabcentral/fileexchange/22441-curve-intersections?focused=5165138&tab=function
If you have points (x,y) straight away follow from step 2 in the above.

  0 Comments

Sign in to comment.

Sign in to answer this question.