Wlodarski / DR-Altimeter

Altitude 'Dead Reckoning' for Casio Triple Sensor v.3
MIT License
0 stars 0 forks source link

Smooth Piecewise Polynomial Regression (SPPR) #9

Open Wlodarski opened 4 years ago

Wlodarski commented 4 years ago

The curve is partitioned into intervals and a separate polynomial is fit to each interval. The constraints of the optimization are twofold:

  1. Two adjacent polynomial regressions should have the same value at the boundary (the function must be continuous)
  2. Two adjacent polynomial regressions should have the same slope at the boundary (the derivative must be continuous)
Wlodarski commented 4 years ago

A natural cubic spline won't do the trick. I need to research which of the numerous spline algorithms actually fit DR-Altimeter purpose.

Wlodarski commented 4 years ago

Prototype :

Cubic_Spline