inpaint_nans
Editor's Note: This file was selected as MATLAB Central Pick of the Week
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.
Cite As
John D'Errico (2024). inpaint_nans (https://www.mathworks.com/matlabcentral/fileexchange/4551-inpaint_nans), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Data Import and Analysis > Data Preprocessing >
- Mathematics and Optimization > Partial Differential Equation Toolbox > General PDEs > Visualization >
Tags
Acknowledgements
Inspired: PODDEM, 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!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.