I understand that you want to perform interpolation on a 3-D dataset of scattered data. For this purpose you can use the "scatteredInterpolant" function in MATLAB. You can use the below command to open an example of 3-D interpolation using the "scatteredInterpolant" function.
openExample('matlab/ScatteredInterp3DExample')
We can also select the appropriate interpolation method required using this function.
For more information on "scatteredInterpolant" function, please refer to the documentation link below.
Hope this helps!

