MATLAB Answers

Integrate an acceleration vector to obtain a velocity vector

조회 수: 15(최근 30일)
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.

  댓글 수: 0

댓글을 달려면 로그인하십시오.

채택된 답변

madhan ravi
madhan ravi 21 Oct 2020
편집: madhan ravi 21 Oct 2020
Use cumtrapz()
doc cumtrapz

  댓글 수: 0

댓글을 달려면 로그인하십시오.

추가 답변(0개)

Community Treasure Hunt

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

Start Hunting!

Translated by