simple integration calculation to find the area ?

1 view (last 30 days)
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?

Accepted Answer

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

More Answers (1)

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

Community Treasure Hunt

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

Start Hunting!