MATLAB Answers

simple integration calculation to find the area ?

조회 수: 1(최근 30일)
MUKESH KUMAR
MUKESH KUMAR 23 Aug 2019
답변: Torsten 23 Aug 2019
I had a 30 min time step vector T(48*1) values T=[30 60 90 ........1440], and another vector V(48*1) having some values. I want to find out the integration of vector V over vector T in the given range?

  댓글 수: 0

댓글을 달려면 로그인하십시오.

채택된 답변

Bruno Luong
Bruno Luong 23 Aug 2019
trapz(T,V)

  댓글 수: 0

댓글을 달려면 로그인하십시오.

추가 답변(1개)

Torsten
Torsten 23 Aug 2019
value_integral = trapz(T,V)

  댓글 수: 0

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

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

Start Hunting!

Translated by