Interpolating function with monotonic decresing first derivative

10 visualizzazioni (ultimi 30 giorni)
Hello, everyone.
I want to find an interpolating function with monotonic decreasing first derivative as shown in the figure.
The black points are the data and the red line is the interpolating function I want to get.
The only condition of interpolating function is: dY/dX should monotonic decreasing .
Is their any interpolating function and solve this problem in MATLAB??
Thanks for any helpful ideas.
  9 Commenti
Kim Jeong Min
Kim Jeong Min il 17 Ott 2018
Modificato: Kim Jeong Min il 17 Ott 2018
The purpose of this project is making discontinuous data become continuous. So, I think both options are acceptable.

Accedi per commentare.

Risposta accettata

Bruno Luong
Bruno Luong il 17 Ott 2018
You can use PCHIP, either in the toolbox or as option of INTERP1 for shape-preserving interpolation.
For fitting you might take a look at my BSFK tool or John d'Errico SLM.
  1 Commento
Kim Jeong Min
Kim Jeong Min il 17 Ott 2018
Thank you for your solution. I realized the interpolating method must pass the data which is not I want. I think I have to try fitting procedure through your opinion.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Interpolation in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by