- 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
2 ビュー (過去 30 日間)
古いコメントを表示
In my understanding, Piecewise Cubic Hermite polynomials requires both values and derivative values at each point.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1516241/image.png)
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 件のコメント
回答 (1 件)
Bruno Luong
2023 年 10 月 20 日
編集済み: Bruno Luong
2023 年 10 月 20 日
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 件のコメント
Bruno Luong
2023 年 10 月 20 日
編集済み: Bruno Luong
2023 年 10 月 20 日
"... which is by imposing monotonicity. "
Exactly
参考
カテゴリ
Help Center および File Exchange で Polynomials についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!