I'm trying to differentiate experimental data which are measured with time. However, the time increments are not equally spaced.
I first obtained a trend line for these data and then did a linear interpolation to obtain equally spaced points. Then I used central differencing to obtain the derivative. However, this gives a derivative that is not smooth and has steps in it. How can I solve this problem?