MATLAB: Evaluation of Volume under surface for tpaps interpolation

integral2MATLABsurface fittpapsvolume calculation

I have used tpaps function to interpolate my X,Y,Z data and thus have obtained a surface. Please let me know how to evaluate volume under the surface using integral2 function. I am at present using a double summation approach and fnval function using for loops to calculate volume but it takes a lot of time.

Best Answer

Hi Prathamesh Apte,
There are several ways to calculate the volume under a surface. Check out this blog for more information.
Hope this helps.