RadialBasisFunctionInterpolation - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Interpolation

  

RadialBasisFunctionInterpolation

  

interpolate N-D scattered data using the radial basis function interpolation method

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

RadialBasisFunctionInterpolation(points,values)

RadialBasisFunctionInterpolation(points,values,rbf,c)

f:=RadialBasisFunctionInterpolation(...)

f(x1,...,xn)

f(M)

Parameters

points

-

listlist, Array, Matrix, Vector, or list of m n-dimensional sample points where each inner list or row represents one point. For a Vector or plain list, n is 1.

values

-

list, Array, or Vector of sample values

rbf

-

(optional) the radial basis function to be used; the default is multiquadric 

c

-

(optional) the shape parameter for gaussian, inversequadratic, multiquadric, and inversemultiquadric radial basis functions; the default is 0.5

x1,...,xn

-

evaluate f at (x1,...,xn)

M

-

a k x n Matrix of points at which to evaluate f

Description

• 

The RadialBasisFunctionInterpolation command creates a function  which can then be evaluated at arbitrary points in .

• 

The supported radial basis functions are gaussian, inversequadratic, multiquadric, inversemultiquadric, linear, cubic, and thinplatespline. The default is multiquadric.

• 

Using gaussian, inversequadratic, multiquadric, or inversemultiquadric radial basis function results in a  interpolant.

• 

Using linear, cubic, or thinplatespline radial basis function gives a piecewise smooth interpolant.

• 

This interpolation method can introduce local minima or maxima beyond the minimum or maximum sample value.

• 

The shape parameter c can take any nonzero real value. However, the effects of any c and -c are the same.

• 

Numerical errors may be large if c is very close to 0 or is very big. The default value of c is .

• 

f can be evaluated at every point in , but results for points far away from the sample points may not be meaningful.

• 

As with all interpolation methods, the interpolant f always passes through all of the sample values.

• 

Input sample points must not contain duplicates. The presence of duplicate points can lead to unexpected results.

• 

The interpolant is a linear combination of radial basis functions centered at each point in points, with the coefficients chosen so that the result is an interpolant. More precisely, the interpolant is of the form , where  iterates over the points in points,  is determined by the rbf argument and explained in the table below, and the coefficients  are chosen so that , where  is the th entry of values.

• 

Each radial basis function takes the form  where ,  is a query point, and  is a sample point.

• 

The following table illustrates the form of each radial basis function.

Radial Basis Function

gaussian

inverse quadratic

inverse multiquadric

multiquadric

linear

cubic

thin plate spline

• 

In order to evaluate f at k points, you can put each point in a row of a Matrix M and call f(M) to obtain the k values of f in a k-element Vector. This will be most efficient if M's options are such that its datatype is float[8], its order is C_order, and its storage is rectangular.

Examples

(1)

(2)

(3)

f can be polled at specific points.

(4)

(5)

(6)

Use plot3d to plot the interpolated surface.

Compatibility

• 

The Interpolation[RadialBasisFunctionInterpolation] command was introduced in Maple 2018.

• 

For more information on Maple 2018 changes, see Updates in Maple 2018.

See Also

Interpolation

 


Download Help Document