Help with Spline Interpolation
- To: mathgroup at smc.vnet.net
- Subject: [mg113193] Help with Spline Interpolation
- From: "Tim McShane" <tmcshane1 at verizon.net>
- Date: Mon, 18 Oct 2010 05:46:51 -0400 (EDT)
I am trying to interpolate 5 data points using spline curves in
Mathematica using the Interpolation function. I also want to specify
the first derivative or slope of the spline curve at the end points
only. This is known as a "clamped" cubic spline.
I used the following code:
This draws a smooth curve through the data points but does not reproduce
the specified first derivatives at the end points. The slope at the
beginning and end points should be -1 and 1 respectively. The
interpolating function returned by Mathematica gives 0.139 and -0.635
Did I give the proper input parameters? Please help.
Prev by Date:
argument list for ArrowBox?
Next by Date:
A model problem for infinite series
Previous by thread:
Re: argument list for ArrowBox?
Next by thread:
Re: Help with Spline Interpolation