image thumbnail

Inverse Distance Weight

version (1.76 KB) by Simone Fatichi
Inverse distance weighting (IDW) multivariate interpolation.


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 (2021). Inverse Distance Weight (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!