0
votes
1answer
45 views

Intuitive proof of interpolation polynomial existence

Problem: Given a set of $n+1$ data points ($x_i, y_i$) where no two $x_i$ are the same, one is looking for a polynomial $p$ of degree at most $n$ with the property $p(x_i) = y_i$ for all $i∈ [0, n ...
0
votes
1answer
89 views

Cubic splines on a grid

I trying to work out how to interpolate on a grid with cubic splines. Let the point at which I'm trying to interpolate be at {xp,yp}. At the moment I am fitting splines across the rows and then ...
1
vote
0answers
57 views

How do you interpolate the local maxima of a set of points in more than 3 dimensions?

I have a set of about 400 points each with 6 coordinates and one scalar value. How can I find out where the local maxima are?
1
vote
0answers
22 views

Is there a way to estimate the range of fitting coefficients from only the data?

Considering an approximation $f$ for a set of $N$ data points $(x,y)$ using, for example, $M$ radial basis functions at arbitrary sites in the domain $f_i = \sum_{j=1} ^M c_j\phi(||x_i-x_j||)$ where ...
1
vote
1answer
211 views

B-Spline Interpolation/Approximation

I've got a couple of probably very simple questions, yet some googling didn't bring up what I was looking for. First what I want to do: I have a grid, and the gridpoints are function values. I want to ...
0
votes
1answer
214 views

Least-squares approximation polynomial

Consider the function $\displaystyle f(x) = \frac{1}{\alpha (x-\beta)^2 + 1}$ in the interval $I = [-1,1]$. Set $\beta = 0$. How do I get the expression for the least-squares polynomial, say $\tilde ...
1
vote
1answer
135 views

Knot placement for a natural cubic spline

I am trying to approximate a function via a natural cubic spline. Suppose I sample the function on a grid i.e. I know the value of the function at a fixed number of equidistant points, say on 200 ...
1
vote
0answers
252 views

Polynomial Interpolation and Error Bound

Problem: Use the Lagrange interpolating polynomial of degree three or less and four digit chopping arithmetic to approximate cos(.750) using the following values. Find an error bound for the ...
1
vote
0answers
114 views

Extending Hermite polynomial interpolation

Working with the definition of Hermite polynomials $x_0,\ldots,x_n$ are distinct in $[a, b]$, $f''(x)$ is continuous on [a, b], then $$H_{2n+1}(x)=\sum_{j=0}^{n} [f(x_j)H_{n,j}(x)] +\sum_{j=0}^{n} ...
1
vote
1answer
396 views

Interpolation error

Working with a homework problem where I'm to derive an estimation of the interpolation error, and compare it with the actual error. This part is ok and I'm done with it. But while working with this in ...
2
votes
0answers
92 views

explicit error bounds for Multivariate interpolation

I want to interpolate a function of $d$ variables over a Cartesian grid, using multivariate interpolation, while characterizing interpolation error in terms of bounds on partial derivatives of the ...
0
votes
0answers
121 views

How do I create a shape from a square corners' values?

I'm working on a 3D algorithm, so my problem applies to cubes, not squares. But for convenience, I'll stick to 2D. Each corner of a square can contain up to 100 units, depending of the values at each ...
5
votes
1answer
3k views

What is the difference between natural cubic spline, Hermite spline, Bézier spline and B-spline?

I am reading a book about computer graphics. It is confusing about the various splines and their algorithms. What is the difference between natural cubic spline, Hermite spline, Bézier spline and ...
4
votes
1answer
400 views

Hermite Interpolation of $e^x$. Strange behaviour when increasing the number of derivatives at interpolating points.

I am trying to understand Hermite Interpolation. Here is my pedagogical example. I want to approximate $f(x)=e^x$ on the domain $[-1,1]$ using Hermite interpolation. I choose the Chebyshev zeros ...