definite integral of numerical vectors

6 vues (au cours des 30 derniers jours)
Stefano
Stefano le 16 Juil 2014
Commenté : Star Strider le 18 Juil 2014
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

Réponse acceptée

Mahesh
Mahesh le 16 Juil 2014
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 commentaires
Stefano
Stefano le 18 Juil 2014
Thank you!
Star Strider
Star Strider le 18 Juil 2014
My pleasure!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Numerical Integration and Differentiation dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by