Evaluation of Volume under surface for tpaps interpolation

2 visualizzazioni (ultimi 30 giorni)
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.

Risposta accettata

Prudhvi Peddagoni
Prudhvi Peddagoni il 28 Set 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 Commento
Prathamesh Apte
Prathamesh Apte il 5 Ott 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

Accedi per commentare.

Più risposte (0)

Prodotti


Release

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by