Of course, you can derivate the signal: Y(n)=(X(n)-X(n-1))/d where d is the "time distance" between the samples. You can take n - (n-1), thus 1.