Interpolate NaN elements in a 2-d array using non-NaN elements. Can also extrapolate, as it does not use a triangulation of the data. Inpaint_nans offers several different approaches to the interpolation, which give tradeoffs in accuracy versus speed and memory required. All the methods currently found in inpaint_nans are based on sparse linear algebra and PDE discretizations. In essence, a PDE is solved to be consistent with the information supplied.
John D'Errico (2022). inpaint_nans (https://www.mathworks.com/matlabcentral/fileexchange/4551-inpaint_nans), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired: PODDEM, Image Manipulation Toolbox, Transform velocity field into wall coordinates, Inpainting nan elements in 3-d, Three variables multilevel design of experiment, repnan, Vector Field TB, PIVsuite, Automated phenotyping of mouse behavior, clickz, Modified Haussdorf Fractal Dimension, nanimresize, Adaptive equalization, PIVMat 4.20, Webcam Realtime Motion Tracker
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!