How to get an "optimal" piecewise linear spline for any functions?

2 ビュー (過去 30 日間)
Taehwan
Taehwan 2013 年 9 月 6 日
回答済み: Greg Dionne 2016 年 7 月 8 日
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?

回答 (2 件)

Matt J
Matt J 2013 年 9 月 6 日

Greg Dionne
Greg Dionne 2016 年 7 月 8 日
If you have R2016a Signal Processing Toolbox, you can try FINDCHANGEPTS with 'linear' to find the locations.

カテゴリ

Help Center および File ExchangeSplines についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by