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!