LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Who can I implement this function?

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?
 
 
0 Kudos
Message 1 of 3
(2,525 Views)
Please help!!
0 Kudos
Message 2 of 3
(2,489 Views)
Hi,

If you only need to sum elements of an array (index 1 to 16), use the Add Array Elements VI. You can find it in the numerical palette.

Hope this helps,
0 Kudos
Message 3 of 3
(2,414 Views)