I'm new to signal processing and I need your help: I have an array of 128 elements (call it Window
) filled with 128 samples taken from a sensor. I was wondering how to find the derivative of this digital signal. I found this formula on wikipedia:
m = F[n] - F[n-1]
where, for me, F[n]
is Window[n]
. I'd like to obtain an array M
filled with all the derivatives. But there's something I miss: The first step would be:
M[0] = Window[0] - Window[-1]
and I haven't Window[-1]
. How can I manage this issue? Thank you in advance.
https://en.wikibooks.org/wiki/Digital_Signal_Processing/Discrete_Operations#Derivatives