MATLAB: Double integral of discrete data

double integral of discrete dataMATLAB

I have a set of three dimensional discrete data points, and I want to figure out the volume of these discrete data points with respect to the axes.The blue points are my discrete data points, and the surface is the surface that I fit.

Best Answer

Use the trapz (or cumtrapz) function to integrate your data, one time on each dimension to do a double integration.
Related Question