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