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.
This algorithm is inspired by the work of John D'Errico
https://www.mathworks.com/matlabcentral/fileexchange/4551-inpaint_nans
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 (2024). Inpaint NaN using Griddata (https://www.mathworks.com/matlabcentral/fileexchange/75758-inpaint-nan-using-griddata), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2020a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 |