MathGroup Archive 2002

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

Search the Archive

Stop extrapolation outside range


Hi,
How do I go about stopping Mathematica from using extrapolation when the 
specified data range falls outside the actual data range from which the 
Interpolating function was generated?

e.g.
data = {{x1,y1}.......{xn,yn}};
int = Interpolate[data];
t1=Table[int[x],{x, xi, xf, dx}]

with xn != xf.

When xn != xf, Mathematica correctly points out that the point xf lies 
outside the data range of the Interpolating function and proceeds to 
extrapolate. How do I stop it from extrapolating.

Thanks
Yas






  • Prev by Date: Finding and replacing
  • Next by Date: Docs for ml32i1.dll
  • Previous by thread: Re: Finding and replacing
  • Next by thread: Re: Stop extrapolation outside range