Evaluation of Volume under surface for tpaps interpolation

2 vues (au cours des 30 derniers jours)
Prathamesh Apte
Prathamesh Apte le 24 Sep 2020
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.

Réponse acceptée

Prudhvi Peddagoni
Prudhvi Peddagoni le 28 Sep 2020
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 commentaire
Prathamesh Apte
Prathamesh Apte le 5 Oct 2020
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

Connectez-vous pour commenter.

Plus de réponses (0)

Produits


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by