Integrate an acceleration vector to obtain a velocity vector

2 views (last 30 days)
Hello guys, I have a vector for acceleration with the vector of the time, and I want to have the vectors for the velocity and position after that.
Any idea how to get the vector of the velocity?
I know that the velocity is the integral, but I dont know which function should I use.
I adjunt the file with the data.
Thank you for your help.

Accepted Answer

madhan ravi
madhan ravi on 21 Oct 2020
Edited: madhan ravi on 21 Oct 2020
Use cumtrapz()
doc cumtrapz

More Answers (0)

Categories

Find more on Mathematics in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!