Interpolating function with monotonic decresing first derivative
Show older comments

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 Comments
Jan
on 17 Oct 2018
There is an infinite number of interpolating functions matching these points and the condition. Is dy/dx < 0 wanted globally or only in the interpolated interval?
Bruno Luong
on 17 Oct 2018
Edited: Bruno Luong
on 17 Oct 2018
"dY/dX should monotonic decreasing "
Your cannot with this data dY/dx is increases in some discrete points so you can never get dY/dx decreases.
Now if you mistake "dY/dx decrease" for "Y decreases" of "dY/dx < 0", that is possible.
Signed by Mr pedantic
Dimitris Kalogiros
on 17 Oct 2018
Edited: Dimitris Kalogiros
on 17 Oct 2018
I think , that "red" function of the given graph, has an increasing derivative. I wonder whether the restriction is: dy/dx should be negative
Kim Jeong Min
on 17 Oct 2018
Torsten
on 17 Oct 2018
Maybe Y = a*exp(-b*X) with a,b to be determined is a good choice for the function.
Bruno Luong
on 17 Oct 2018
For fitting or interpolating?
Torsten
on 17 Oct 2018
ok, fitting ...
Kim Jeong Min
on 17 Oct 2018
Edited: Kim Jeong Min
on 17 Oct 2018
Accepted Answer
More Answers (0)
Categories
Find more on Interpolation 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!