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

2 Ansichten (letzte 30 Tage)
Taehwan
Taehwan am 6 Sep. 2013
Beantwortet: Greg Dionne am 8 Jul. 2016
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?

Antworten (2)

Matt J
Matt J am 6 Sep. 2013

Greg Dionne
Greg Dionne am 8 Jul. 2016
If you have R2016a Signal Processing Toolbox, you can try FINDCHANGEPTS with 'linear' to find the locations.

Kategorien

Mehr zu Splines finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by