InterpolatingFunction

InterpolatingFunction[domain,table]

represents an approximate function whose values are found by interpolation.

Details

Examples

open all close all

Basic Examples  (2)

Make an InterpolatingFunction object that will go through the given points:

In[1]:=
Click for copyable input

Only the domain is shown in standard output format:

In[2]:=
Click for copyable input
Out[2]=

Evaluate the function at a point in the domain:

In[3]:=
Click for copyable input
Out[3]=

Plot the function over its domain, showing the interpolation points:

In[4]:=
Click for copyable input
Out[4]=

Get an InterpolatingFunction object approximating the solution of a differential equation:

In[1]:=
Click for copyable input
Out[1]=

Plot the function and its derivative:

In[2]:=
Click for copyable input
Out[2]=

Find the indefinite integral of the solution:

In[3]:=
Click for copyable input
Out[3]=
In[4]:=
Click for copyable input
Out[4]=

Scope  (5)

Properties & Relations  (1)

Introduced in 1991
(2.0)
|
Updated in 1996
(3.0)