MATLAB: Integrate an acceleration vector to obtain a velocity vector

integration of an acceleration vectorMATLABobtain a vector by integrating another vector

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.

Best Answer

Use cumtrapz()
doc cumtrapz