How to convert an acceleration time graph, into a velocity time graph

I have acceleration in the x and y values and corrosponding time values plotted on a graph which are from another function which gives them as 'ax''ay' and 't', both in vector form. t is incrementing in 0.1(s). And acceleration has positive and negative values. And V0 = 0
I've tried many things such as integrating 'a' with respect to 't', or using V= u+at each in for loops. But my MATLAB skills are incredibly limited. Any help or suggestions would be massively appreciated! I am very new to matlab!

 Akzeptierte Antwort

Alessandro Masullo
Alessandro Masullo am 20 Jan. 2015

0 Stimmen

You can integrate the acceleration vector with cumsum or cumtrapz to get the velocity, and again to get the space.

Weitere Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by