definite integral of numerical vectors

4 次查看(过去 30 天)
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 个评论

请先登录,再进行评论。

更多回答(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