Cubic spline interpolation with second derivative at ends as zero

조회 수: 8 (최근 30일)
Anirban Naskar
Anirban Naskar 2014년 6월 11일
댓글: Mahdi 2014년 6월 12일
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
Mahdi 2014년 6월 11일
Doesn't the spline function work?
  댓글 수: 2
Anirban Naskar
Anirban Naskar 2014년 6월 12일
Hi,
Is there any technique by which I can use the spline function, giving additional boundary conditions that second derivative in the end as zero?
Mahdi
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')?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Splines에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by