How to smooth data to a negative curve
2 次查看(过去 30 天)
显示 更早的评论
I'm looking to smooth out some experimental data.
Some recorded data points go upwards, altough this isn't possible for the given subject. Is there a way to smooth my data and at the same time, make sure that x_i < x_i-1, i.e., always with a negative curve.
采纳的回答
Matt J
2021-7-20
编辑:Matt J
2021-7-20
Thie File Exchange submission allows you to do spline smoothing with monotonicity constraints:
You can also do Gaussian+constant fitting with the following File Exchange submission, and with bound constraints on the mu parameter:
With mu<=0, that would ensure monotonic descent over the range of your data.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interpolation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!