Inverse Distance Weight

Inverse distance weighting (IDW) multivariate interpolation.
6.2K Downloads
Updated 24 Feb 2012

View License

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 (2025). Inverse Distance Weight (https://uk.mathworks.com/matlabcentral/fileexchange/24477-inverse-distance-weight), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Geoscience in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
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