You cannot differentiate data using a ODE solver.
Think of an ODE solver as a numerical integration tool. In fact, you can perform numerical integration using an ODE solver. So it is going the wrong way for what you want to do. Just because it has the word differential in it, does not mean it will differentiate your data.
If you have a displacement function, then simply differentiating it twice will give you acceleration. For example, if you take displacements in x and y as a function of time, then the first derivative will give you velocities in x and y. Then the second derivative will yield accelerations.
If you have data points that define the displacement, then you can use tools like gradient to differentiate the data, providing an approximate acceleration. Or you can interpolate the points using a spline, then differentiate it twice to yield an approximate acceleration.
In any case, remember that differentiation is a noise amplifying process, so any noise in the data will be amplified in the acceleration estimate.
Best Answer