Cubic spline interpolation with second derivative at ends as zero
Mostrar comentarios más antiguos
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
Respuestas (1)
Mahdi
el 11 de Jun. de 2014
0 votos
2 comentarios
Anirban Naskar
el 12 de Jun. de 2014
Mahdi
el 12 de Jun. de 2014
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')?
Categorías
Más información sobre Splines en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!