How to integrate a vector for specifical formula

2 Ansichten (letzte 30 Tage)
Delly22
Delly22 am 3 Jun. 2021
Kommentiert: Delly22 am 3 Jun. 2021
Hello community! I have a situation. I need to integrate a set of data saved in a vector. The formula i need to integrate is:
I have vector of time and Vs each with 900.000 elements. I really need help! Thank you!
  2 Kommentare
KSSV
KSSV am 3 Jun. 2021
Read about trapz.
Delly22
Delly22 am 3 Jun. 2021
I tried with trapz but it gives me just 1 number, not a vector. Time is a vector, Vs is a vector and i need to integer so i can plot it and to plot it i need to be a vector, not just a number.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by