Info

This question is closed. Reopen it to edit or answer.

How to find the intersection points of two curves and exchange their data beyond these points?

1 view (last 30 days)
Hi, guys.
I have a matrix data consisting of x and y that can be used to plot different curves. But there are many intersection points between these curves, as shown in Fig. 1 and Fig. 2. Is it possible to remove these intersection ponints and make these curves varying approximately linearly with x?
Thanks.
Here is the data file.
fig1.png
fig2.png
  2 Comments
ZhiH
ZhiH on 11 Mar 2019
Edited: ZhiH on 11 Mar 2019
Thanks @Image Analyst. I want the smooth curves that vary approximately linearly with x at the intersection region, as shown below in Fig. 3.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!