MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Mathematica "Interpolation" function

  • To: mathgroup at
  • Subject: [mg71724] Re: Mathematica "Interpolation" function
  • From: dh <dh at>
  • Date: Mon, 27 Nov 2006 04:05:07 -0500 (EST)
  • Organization:
  • References: <ek98a7$jpi$>

Hi Lorenzo,
you are right. Consider an interpolation with default degree of 3:
d = Table[Random[], {10}];
f = Interpolation[d];
Plot[f[x], {x, 1, 10}];
Plot[f'[x], {x, 1, 10}];
You will see, that the first 3 points are calculated with one 
polynomial, the 3. and 4. with another, the 4. and 5. with still another 
e.t.c. This gives only C0 differentiability, already the first 
derivatives are not continuous.

Lorents wrote:
> Hello,
> I'm trying to understand how mathematica produces interpolations in 1D 
> with the "Interpolation" command. I understood it uses piecewise 
> polynomial of the degree specified by InterpolationOrder.
> As far as I understand this method never produces truly smooth functions 
> as nothing is done to elimitate the jump discontinuities in the 
> derivatives of the joined polynomials.
> Iimagine that these discontinuities may be small, but they are 
> nontheless there.
> Could anybody confirm this? Am I correct?
> Lorenzo

  • Prev by Date: RE: Strange use of FrontEnd`FileName
  • Next by Date: Re: Word permutations - frustrated by lists.
  • Previous by thread: Re: Mathematica "Interpolation" function
  • Next by thread: Plotting a function -