How to get an "optimal" piecewise linear spline for any functions?
1 次查看(过去 30 天)
显示 更早的评论
For given f(x), x in [a, b],
I want to get a piecewise linear spline.
Then how to segment f(x) so as to achieve a good spline?
That is, how to place the knots?
0 个评论
回答(2 个)
Greg Dionne
2016-7-8
If you have R2016a Signal Processing Toolbox, you can try FINDCHANGEPTS with 'linear' to find the locations.
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!