Inverse Distance Weight

Inverse distance weighting (IDW) multivariate interpolation.

You are now following this Submission

The code performs an Inverse distance weighting (IDW) multivariate interpolation, i.e. a process of assigning values to unknown points by using values from usually scattered set of known points.
The code requires vectors of coordinates and variable values of known points (xc,yc,vc) and calculated the variable values by means of Inverse Distance Weighting (IDW) multivariate interpolation for a vector or matrix (Vint) of unknown points described by coordinates (x,y). The code allows to vary the distance weight (e) and to consider a certain number of neighbors through fixed radius or number of neighbours methods.

Cite As

Simone Fatichi (2026). Inverse Distance Weight (https://www.mathworks.com/matlabcentral/fileexchange/24477-inverse-distance-weight), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Geoscience 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.3.0.0

A bug in the fixed radius option has been fixed. The number of neighbours option was always correct. Note that the code requires that the coordinates of the known points must not overlap with the coordinates of the unknown points.

1.2.0.0

Changes in the code comments

1.0.0.0