inpaint_nans
by John D'Errico
29 Feb 2004
(Updated 28 Jun 2006)
Interpolates (& extrapolates) NaN elements in a 2d array.
Editor's Notes:
This is a File Exchange Select file.
Select files are submissions that have been peer-reviewed and approved as meeting a high standard of utility and quality.
|
Watch this File
|
| File Information |
| Description |
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. |
| Acknowledgements |
This submission has inspired the following:
Inpaint over missing data in N-D arrays, inpaint_nans3, PIVlab - time-resolved particle image velocimetry (PIV) tool
|
| MATLAB release |
MATLAB 5.2 (R10)
|
| Other requirements |
Written in version 5.2, tested up to release 14 SP1 |
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 18 Jul 2005 |
This version of inpaint_nans will also handle
inpainting (interpolating/extrapolating) simple
vectors with NaN elements. |
| 17 Apr 2006 |
Release 2:
Bug fix for method 5. Clean up help. Add HTML, screenshot, examples, demo comparison to griddata. |
| 28 Jun 2006 |
Created Select directory structure |
|
Contact us at files@mathworks.com