Evaluation of Volume under surface for tpaps interpolation

조회 수: 8(최근 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.
Prathamesh Apte

댓글을 달려면 로그인하십시오.

추가 답변(0개)




Community Treasure Hunt

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

Start Hunting!

Translated by