Mesh Laplacian Interpolation Operator

Computes the zero Laplacian interpolation matrix
2,6K descargas
Actualizado 24 ene 2003

Sin licencia

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.

Citar como

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

Compatibilidad con la versión de MATLAB
Se creó con R12
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Interpolation en Help Center y MATLAB Answers.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.0

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