- interpolation on data point
- The derivative inside the interval does not change sign (hermit specific), but this constraints are enforced internally
why does not "pchip" requires derivative values as input
8 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
In my understanding, Piecewise Cubic Hermite polynomials requires both values and derivative values at each point.

Matlab "pchip", https://www.mathworks.com/help/matlab/ref/pchip.html, is exactly Piecewise Cubic Hermite polynomials, but does not require derivatives.
So why no derivatives values are needed as inputs for "pchip"
0 Commenti
Risposte (1)
Bruno Luong
il 20 Ott 2023
Modificato: Bruno Luong
il 20 Ott 2023
Since the derivatives are computed internally as with general polynomial picewise functions.
It satisfies :
If user imposes the derivarive at the break points then it might not be able to satifsfy the second condition.
4 Commenti
Bruno Luong
il 20 Ott 2023
Modificato: Bruno Luong
il 20 Ott 2023
"... which is by imposing monotonicity. "
Exactly
Vedere anche
Categorie
Scopri di più su Interpolation in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!