How to integrate a vector?

2 Ansichten (letzte 30 Tage)
Mr. 206
Mr. 206 am 8 Jan. 2019
Bearbeitet: Torsten am 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?

Antworten (2)

Torsten
Torsten am 8 Jan. 2019
Use "trapz".
Best wishes
Torsten.
  2 Kommentare
Mr. 206
Mr. 206 am 8 Jan. 2019
How to specify limit in trapz?
Torsten
Torsten am 8 Jan. 2019
Bearbeitet: Torsten am 8 Jan. 2019
The first and last vector entry are the lower and upper limit of integration.

Melden Sie sich an, um zu kommentieren.


madhan ravi
madhan ravi am 8 Jan. 2019

Community Treasure Hunt

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

Start Hunting!

Translated by