How to integrate a vector?

3 vues (au cours des 30 derniers jours)
Mr. 206
Mr. 206 le 8 Jan 2019
Modifié(e) : Torsten le 8 Jan 2019
I have equation like this.
E(x) =
and another one is like.
E(x) =
I don't have the function, rather i have x and y (y= f(x)) values.
How can i implement this two equation?

Réponses (2)

Torsten
Torsten le 8 Jan 2019
Use "trapz".
Best wishes
Torsten.
  2 commentaires
Mr. 206
Mr. 206 le 8 Jan 2019
How to specify limit in trapz?
Torsten
Torsten le 8 Jan 2019
Modifié(e) : Torsten le 8 Jan 2019
The first and last vector entry are the lower and upper limit of integration.

Connectez-vous pour commenter.


madhan ravi
madhan ravi le 8 Jan 2019

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