I want to create a for loop to use the iterative formula for acceleration using given velocity values:
I have tried repeatedly but am new to MATLAB. I used the following:
where V is velocity and T is time
but the acceleration vector is then 1 smaller than I want to be able to plot the graph a,T
forgive my poor syntax, I am very new to MATLAB
In summary, I need to calculate Acceleration and keep it in the same vector size as Time in order to plot these, not one value smaller.