I've implemented the derivative function:
p[n]=2y[n-2]-y[n-1]-2y[n]-y[n+1]+2y[n+2]
using the shift register in a for loop, where I enter the x[n] signal.
Now i have to make this sum using the other function inside the sum...
s[n]=SUM(from k=1 to 16)(p[n-k+1]*(16-k+1))
and I don't now how to do it!!
Can anybody help?