Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

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

1 vue (au cours des 30 derniers jours)
ZhiH
ZhiH le 11 Mar 2019
Clôturé : MATLAB Answer Bot le 20 Août 2021
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 commentaires
Image Analyst
Image Analyst le 11 Mar 2019
Attach your data file.
Attach a picture of what you'd like to achieve.
ZhiH
ZhiH le 11 Mar 2019
Modifié(e) : ZhiH le 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.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by