Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [interpolation]

Interpolation is the process of estimating the values of a function, when the function's values are known only at a particular set of points. Questions on interpolation in one or more dimensions, as well as algorithms for doing so, should have this tag.

0 votes
0 answers
50 views

B-Spline basis on a 3D mesh

I need to interpolate some (sparse) data scattered on a 3D manifold mesh. In other words, I have a scattered interpolation problem where the input values are defined for some vertices of the mesh. ...
Arrigo's user avatar
  • 301
3 votes
0 answers
65 views

Interpolation constant on triangles

There are quite a few references regarding the estimation for the interpolation error for the piece-wise affine finite elements. I find one particular estimate interesting (and useful in my case), ...
Beni Bogosel's user avatar
  • 1,077
0 votes
0 answers
40 views

Extending Matlab's pchip to 2D

In The Matlab Guide, chapter 3, section 4, Moler describes a piecewise cubic Hermite interpolator $i$ which Never leaves the data bounds on each subinterval, e.g. $t \in [t_k, t_{k+1}] \implies i(t) \...
user14717's user avatar
  • 2,165
1 vote
1 answer
145 views

Nodal functionals in finite element analysis

I have a quintic Hermite basis functions [-1,1] for FEM applications, I wanted to check if it's nodal functionals are proper. Could someone explain nodal functionals in details and give an example of ...
Nomad's user avatar
  • 65
0 votes
1 answer
152 views

Quintic Hermite shape functions

I am trying to use quintic Hermite basis functions for FEM applications, could someone please direct me to the general formula that would help me generate quintic Hermite shape functions? In natural ...
Nomad's user avatar
  • 65
1 vote
0 answers
68 views

shape functions of interpolating a piecewise polynomial with continuous 0-th and 1-st derivatives

shape functions are the basis functions that interpolate a function in a subdomain using polynomials. linear interpolation is probably the most convenient approach which results in so-called "...
Hosein Javanmardi's user avatar
3 votes
0 answers
100 views

Why weighted harmonic mean for pchip slopes leads to monotone interpolator

In Fritsch and Carlson's paper on monotone interpolation, they identify numerous conditions under which a cubic Hermite interpolator will be monotone. For example: On the subinterval $[t_i, t_{i+1}]$ ...
user14717's user avatar
  • 2,165
0 votes
2 answers
162 views

Conservative interpolation from a 1D grid to another 1D grid

I am given with a function $f(x)$ on a grid $X_{old}\in \{x_{min},x_{max}\}$ with a non uniform spacing. I need to interpolate that function on a new log-spaced grid $X_{new}\in\{x^{\prime}_{min},x^{\...
Sayan's user avatar
  • 97
4 votes
2 answers
462 views

Chebyshev/Lagrange polynomials in spectral methods

I am currently trying to familiarise myself with (Pseudo-)Spectral Methods for solving differential equations. Now, I am struggling to understand some obviously crucial concept of this approach. The ...
Octavius's user avatar
  • 185
3 votes
1 answer
124 views

Interpolating 2D data on a hemisphere in order to have $C^2$ function but no overshoot

I am interpolating a 2D dataset on a hemisphere, and I am currently using scipy.Rbf that I like for its simplicity. I am defining the norm of the interpolator with ...
Balfar's user avatar
  • 63
1 vote
4 answers
731 views

If FEM is exact at the nodes, why do first and second-order elements give very different results?

I'm looking at the solution to a structural mechanics problem that is modeled with first-order elements and then as a comparison with second-order elements. It is clear that the first-order elements ...
Tepa's user avatar
  • 31
0 votes
1 answer
274 views

Is 'natural neighbor' interpolation better than linear for unstructured function interpolation?

Natural neighbor interpolation is defined here, it is an intriguing method that uses voronoi diagrams. Notably it is smooth almost everywhere whereas linear interpolation is only piecewise linear. I ...
Sam Christensen's user avatar
2 votes
0 answers
99 views

Modal representations of nodal tensor product Galerkin elements

Nodal discontinuous Galerkin methods on simplices, like those described in Hesthaven and Warburton, have the nice property that the number of nodes is equal to the minimum number needed to represent a ...
Aurelius's user avatar
  • 2,375
1 vote
0 answers
42 views

Integral from function approximations

I have some data which I cannot manage to model and fit with a known function, so let’s say that they are a sample from the unknow function $f(x)$, which look a sort of skewed bell-shaped distribution....
Stefano Barone's user avatar
0 votes
1 answer
2k views

Fitting a monotonically increasing spline function

I want to fit a monotonically increasing smooth spline function for a dataset Code: ...
Natasha's user avatar
  • 433

15 30 50 per page
1
2 3 4 5
14