Inpaint over missing data in 1-D, 2-D, 3-D,... ND arrays

Y = INPAINTN(X) computes the missing data in the N-D array X.

http://www.biomecardio.com

Download
Download

You are now following this Submission

Cite As

Damien Garcia (2026). Inpaint over missing data in 1-D, 2-D, 3-D,... ND arrays (https://www.mathworks.com/matlabcentral/fileexchange/27994-inpaint-over-missing-data-in-1-d-2-d-3-d-nd-arrays), MATLAB Central File Exchange. Retrieved .

Wang, Guojie, et al. “A Three-Dimensional Gap Filling Method for Large Geophysical Datasets: Application to Global Satellite Soil Moisture Observations.” Environmental Modelling & Software, vol. 30, Elsevier BV, Apr. 2012, pp. 139–42, doi:10.1016/j.envsoft.2011.10.015.

View more styles

Garcia, Damien. “Robust Smoothing of Gridded Data in One and Higher Dimensions with Missing Values.” Computational Statistics & Data Analysis, vol. 54, no. 4, Elsevier BV, Apr. 2010, pp. 1167–78, doi:10.1016/j.csda.2009.09.020.

View more styles

Acknowledgements

Inspired: avinterpnan(A,method), interp1gap, repnan

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.4.2

n/a

Download
1.4.2-0

updated links

Download
1.4.0

Update of the help text

Download
1.3.0

The functions DCTN and IDCTN are now included in INPAITN

Download
1.2.0

1) there was a mistake in the 4-D example
2) an initial guess can be now given as an input

Download
1.1.0

Image toolbox is no longer required.

Download
1.0.0

Download