definite integral of numerical vectors

조회 수: 3 (최근 30일)
Stefano
Stefano 2014년 7월 16일
댓글: Star Strider 2014년 7월 18일
i'm looking for to solve a definite integral of two vectors
I know: z vector of numbers and G(z) vector of numbers. The limits of integration are zmin and zmax
I should to calculate: Integral between zmin,zmax of [G(z) * z^(7/6)] dz

채택된 답변

Mahesh
Mahesh 2014년 7월 16일
I think you have to use numerial method of integration such as simpson rule or trapezoidal rule. Make a routine for either of these methods and calculate them for each z values and add up. If sum over them, you will get the answer. I hope it works for you. Let me know if you have problem on making subroutine.
Goof luck.
  댓글 수: 5
Stefano
Stefano 2014년 7월 18일
Thank you!
Star Strider
Star Strider 2014년 7월 18일
My pleasure!

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Numerical Integration and Differentiation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by