Mesh Laplacian Interpolation Operator

Computes the zero Laplacian interpolation matrix

You are now following this Submission

See also MESH_LAPLACIAN function on matlab central file exchange.

MESH_LAPLACIAN_INTERP: Computes the zero Laplacian interpolation matrix

Useage: [int, keepindex, repindex] = mesh_laplacian_interp(lap, index)

This function calculates an interpolation matrix that provides the coefficients for the calculation of potential values at all unknown vertices of a mesh, given known potential values at a subset of the mesh vertices (at 'index'). The interpolation solution is constrained by a minimal norm of the Laplacian of the mesh. See the reference below for details.

'lap' is the laplacian matrix for the full mesh (see mesh_laplacian) 'int' is the matrix which interpolates from the points in 'index' to the full mesh. 'index' is a row vector of indices into a subset of the vertices used to calculate 'lap'. This subset is where the electric potential is known and usually corresponds to the given electrode vertices, eg:

index = dsearchn(scalpvert,elecvert)';

If 'index' contains repeated indices, only the unique indices are useful. The 'keepindex' array can be used to select these. The 'repindex' array is the repeated indices. Interpolations can be done using matrix 'int', eg:

[int, keepindex, repindex] = mesh_laplacian_interp(lap,index);
if isempty(repindex),
Vint = int * Vknown;
else
Vint = int * Vknown(keepindex);
end

This implements interpolation method B (p. 336) of Oostendorp T, Oosterom A & Huiskamp G (1989), Interpolation on a triangulated 3D surface. Journal of Computational Physics, 80: 331-343.

Cite As

Darren Weber (2026). Mesh Laplacian Interpolation Operator (https://se.mathworks.com/matlabcentral/fileexchange/1876-mesh-laplacian-interpolation-operator), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Interpolation in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

Need to link this file to the MESH_LAPLACIAN function on matlab central file exchange.