Cubic spline interpolation with second derivative at ends as zero
显示 更早的评论
Hi all,
I need a function for cubic spline interpolation where second derivative at both the ends are zero (i.e. Natural or Free spline). My version of MATLAB does not allow to use "csape".
If not a function, atleast suggest some method to work around the above problem.
Please help!
Thanks, Anirban
回答(1 个)
Mahdi
2014-6-11
0 个投票
2 个评论
Anirban Naskar
2014-6-12
Mahdi
2014-6-12
My knowledge of splines isn't that good, but doesn't cubic splines already consider that the second derivative at the end is zero? So you can use spline(x,y,xx, 'cubic')?
类别
在 帮助中心 和 File Exchange 中查找有关 Splines 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!