# interpolation 2D irregular nodes

Given a 2D irregular spaced data like shown in the figure, I would like to know how to find derivatives at '*' by interpolating the values at 'o'. Does lagrange 2D interpolation work at irregular spaced data

• You can triangulate the points and use a finite element type approximation. However you may need to do some extra work to get an accurate gradient. Search for gradient recovery techniques. Another option is to use radial basis functions, which can give very accurate approximations. This is pretty easy to implement. Aug 31, 2017 at 12:36
• Yes, you can use Lagrange interpolation for irregular data. Where do you want to evaluate the derivatives? Aug 31, 2017 at 18:47
• @PraveenChandrashekar thanks, i am using gaussian radial basis functions using point interpolation method. I'm able to interpolate the derivatives at uniform grids with error 1e-3. does it give accurate derivatives at non-uniform grids also. or can you direct me any reference. Sep 1, 2017 at 13:08
• @nicoguaro i added the figure. can i interpolate derivatives at '*' using function values at 'o' by lagrange interpolation. Thanks Sep 1, 2017 at 13:10
• @Neutron17I have not kept up with literature on RBF so cant give good answer. But I have seen people use RBF for solving PDE. I think they just differentiate the interpolant to get derivative approximations. See e.g., papers of Natasha Flyer. Sep 1, 2017 at 14:22

It seems that your mesh is a Voronoi diagram. In that case, "Natural Neighbors Interpolation" [1] may be a "natural" choice (depending on how you construct the mesh and what you want to do with the derivatives). See also the Wikipedia entry on Natural Interpolation [2]. The interpolant is smooth (it is $C^1$ everywhere except on the data points where it is $C^0$, see [3] and references herein). Derivatives can be evaluated, but computations are a bit involved. However, if the points were you want to evaluate the derivatives are the centers of the Delaunay edges (as it seems to be in your figure), then there are good chances that the expression of the derivatives can be simplified.