How to integrate a vector?

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?

Respuestas (2)

Torsten
Torsten el 8 de En. de 2019

0 votos

Use "trapz".
Best wishes
Torsten.

2 comentarios

Mr. 206
Mr. 206 el 8 de En. de 2019
How to specify limit in trapz?
Torsten
Torsten el 8 de En. de 2019
Editada: Torsten el 8 de En. de 2019
The first and last vector entry are the lower and upper limit of integration.

Iniciar sesión para comentar.

Categorías

Preguntada:

el 8 de En. de 2019

Editada:

el 8 de En. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by