I have a 3D volume with some NaN values in it. I want to interpolate the the volume in order to fill in the NaNs and also extrapolate the volume around it. When I use the 'linear' method it doesn't replace the NaNs and seems to extrapolate them. When I try to use 'spline', I get an error "Insufficient finite values to interpolate." Not sure why.
MATLAB: Is there a way to interp3 without interpolating the NaNs
3dextrapolationinterp3?interpolationnanspline
Best Answer