How to integrate a vector?

3 次查看(过去 30 天)
Mr. 206
Mr. 206 2019-1-8
编辑: Torsten 2019-1-8
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?

回答(2 个)

Torsten
Torsten 2019-1-8
Use "trapz".
Best wishes
Torsten.
  2 个评论
Mr. 206
Mr. 206 2019-1-8
How to specify limit in trapz?
Torsten
Torsten 2019-1-8
编辑:Torsten 2019-1-8
The first and last vector entry are the lower and upper limit of integration.

请先登录,再进行评论。


madhan ravi
madhan ravi 2019-1-8

类别

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