splines with derivative conditions at support points
3 次查看(过去 30 天)
显示 更早的评论
Hi I am trying to cubically interpolate my data but I know the derivatives at these points too. I have only found the csape function to define the derivatives at the end points -> "clamped" however I could not find how to enforce the derivatives at the support points too.
Thanks for a response..
Regards max
2 个评论
Are Mjaavatten
2021-7-6
The cubic polynomial on the interval to must satisfy four conditions: , , and . This uniquely determines the polynomial, leaving no room for the usual requirement that the second derivative should be continuous. To obtain this, you would need quartic splines. John d'Errico's answer and comments to Clay Fulcher's question may be of help. (I do not have the Curve fitting Toolbox so I cannot test this.)
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Splines 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!