File Exchange

image thumbnail

Inpaint NaN using Griddata

version 1.0.0 (1.92 KB) by Kin Sung Chan
Inpaint: Substitute a matrix that has some nan values with interpolated values.


Updated 22 May 2020

View License

This algorithm is inspired by the work of John D'Errico

However, I do notice that the inpaint_nans algorithm given by John D'Ericco gives a higher gradient compared to griddata. So, this algorithm provides an alternative solution that some people may find it helpful.

Cite As

Kin Sung Chan (2020). Inpaint NaN using Griddata (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (2)

MATLAB Release Compatibility
Created with R2020a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags