Using Derivatives in Interpolation
Q: To the following data
I apply the function
and interpolate the result.
Why is the resulting interpolation not smooth?
A: Jarl R. Sobel (email@example.com) answers: By default, an InterpolationFunction varies smoothly between sample points. Under Interpolation the Mathematica Reference Guide says
Data can be given in the form to specify derivatives as well as values of the function at the points . You can specify different numbers of derivatives at different points.
Using this feature to specify the first derivatives of the function
and then interpolating
gives what you want.
Alternatively, you can use splines.
Converted by Mathematica September 29, 1999 [Prev Page][Next Page]