How to integrate a vector for specifical formula

2 views (last 30 days)
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 Comments
Delly22
Delly22 on 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.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!