How can I do a convex smoothing to a set of points in Matlab?
4 次查看(过去 30 天)
显示 更早的评论
Hi
I'm using the function spline to do a cubic spline interpolation, nevertheless given the nature of that functions some parts are not convex. I need to ensure the convexity of the smoothed function, is there a way to do something similar like the spline but keeping it convex?
Many Thanks
1 个评论
Image Analyst
2013-6-30
Please post a screenshot (type alt-printscreen) to http://snag.gy so we can see what you're talking about.
采纳的回答
Matt J
2013-6-30
This FEX file let's you constrain a spline fit to be convex
4 个评论
Image Analyst
2013-6-30
Well then it wouldn't go through the knots. It would be a regression rather than an interpolation. Or do some kinds of splines not need to go through the knots?
Matt J
2013-6-30
Yes, it would be a regression, but I assume that's what the OP wants, as the title of the post mentions "convex smoothing".
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Splines 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!