What is the difference in inpaintn and inpaint_nans functions?
Show older comments
I can see inpaintn works on all N-D types of array while inpain_nans work on 2d array. Is there any difference than the dimensions both functions can handle? which one is better in interpolating the missing (NaN ) data (or which output is more reliable)?
I used them both to interpolate the NaN values for 2d array. Both are giving different output.
Thank you in advance!
Accepted Answer
More Answers (1)
Image Analyst
on 7 Jun 2023
0 votes
You should also look at the function regionfill in the Image Processing Toolbox, if you have it. Does essentially the same thing.
Categories
Find more on Visualization in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!