Evaluation of Volume under surface for tpaps interpolation

2 次查看(过去 30 天)
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.

采纳的回答

Prudhvi Peddagoni
Prudhvi Peddagoni 2020-9-28
Hi Prathamesh Apte,
There are several ways to calculate the volume under a surface. Check out this blog for more information.
Hope this helps.
  1 个评论
Prathamesh Apte
Prathamesh Apte 2020-10-5
Dear Prudhvi Peddagoni,
Thanks for your reply and sorry for the late reply.
I tried the trapz function today and was able to get the answer in much less time. Thanks a lot for your help.
Regards.
Prathamesh Apte

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Surface and Mesh Plots 的更多信息

产品


版本

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by