Interpolation
← Data Representation | ● | Discrete Data →
The discrete representation requires the interpolation of function values $f(x_i)=y_i$ at the data grid points $x_i$.
Interpolation can be (from worst to best)
- linear
- cubic
- spline
- sinc
Linearily interpolated function f(x) between function values $y_1$ und $y_2$ of two data points $x_1$ und $x_2$ with interpolation weight (factor) $w\in[0..1], w=\frac{x-x_1}{x_2-x_1}$:
Cubically interpolated function:
for $x_i = i-1$, the cubic coefficients a, b, c and d are:
faster evaluation of f(x):
← Data Representation | ● | Discrete Data →