MATLAB: Volume under the surface of a 3-D plot: pdetool box

pdetoolvolume under surface of a 3-d plot

I used matlab pdetool box to model 2-D diffusion equation. 3-D plot was generated for the distrbution of concentration at a given time. Now I want to calculate the volume under the surface to get the total mass. I can export solution, u , and mesh parameters, p, t, e, to workspace. How do I calculate volume using these parameters?
Thank you
kodi

Best Answer

I found a way to do this at:
More methos are welcome.
Thank you
Related Question