title: Given acceleration data and the corresponding time, how can I find the position and velocity in MATLAB?
body: <p>I am given this data in an excel spreadsheet. So after importing it would I just do <code>velocity = cumtrapz(t,y)</code> and then <code>position = cumtrapz(velocity)</code>?</p>