INVDISTGRID

Simple, robust gridding using inverse-distance interpolation.

Vous suivez désormais cette soumission

INVDISTGRID Simple, robust gridding using inverse-distance interpolation.
[Xi,Yi,Zi] = invdistgrid[X,Y,Z,dx] Grids values in vector Z with coordinates X and Y into an array with spacing dx using inverse-distance weighting (default power =2). All data between grid points are used in weighting. If no data exists between points, a NaN is entered. X and Y must be vectors and Z must be of the same length. Z can be an m by n array, with each column a dataset, and Zi will be a three-dimensional array with n layers.

[Xi,Yi,Zi] = invdistgrid[X,Y,Z,dx,p] Replaces the default weighting power 2 with the integer p. The higher the value of p, the more weight will be given to closer data values.

NOTE: You can use FILLNANS or INPAINT_NANS to fill in the NaN values in Zi.

Citation pour cette source

Ian Howat (2026). INVDISTGRID (https://fr.mathworks.com/matlabcentral/fileexchange/15538-invdistgrid), MATLAB Central File Exchange. Extrait(e) le .

Catégories

En savoir plus sur Interpolating Gridded Data dans Help Center et MATLAB Answers

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.0.0.0

Corrected some errors in the description.