My acceleration and corrosponding time values are from another function which gives them as 'a' and 't', both in vector form. There are aprox 1000 values for each, where 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 limited.
I dont have enough code to really help, but this is the base starting point.
Function [velocity,time] = V_T(o,p,l)
[t,a] = AccCal(o,p,l);
end
2 Comments
Direct link to this comment
https://nl.mathworks.com/matlabcentral/answers/56735-convert-an-acceleration-time-graph-into-a-velocity-time-graph#comment_117478
Direct link to this comment
https://nl.mathworks.com/matlabcentral/answers/56735-convert-an-acceleration-time-graph-into-a-velocity-time-graph#comment_117478
Direct link to this comment
https://nl.mathworks.com/matlabcentral/answers/56735-convert-an-acceleration-time-graph-into-a-velocity-time-graph#comment_117490
Direct link to this comment
https://nl.mathworks.com/matlabcentral/answers/56735-convert-an-acceleration-time-graph-into-a-velocity-time-graph#comment_117490
Sign in to comment.