You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
The Image Processing Toolbox offers a great function called imresize, which conveniently rescales gridded datasets and automatically applies antialiasing. However, because imresize interpolates data, imresize output tends to lose data near NaN boundaries. This function uses John D'Errico's inpaint_nans function before applying imresize, then re-masks NaN output.
Cite As
Chad Greene (2026). nanimresize (https://se.mathworks.com/matlabcentral/fileexchange/56518-nanimresize), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: inpaint_nans
General Information
- Version 1.0.0.0 (5.83 MB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
