Closed b3326023 closed 6 years ago
Can you explain what is the mean of this function? Why to sum array[1] - array[0] ?
def wl(array): sum = 0 for a in range(0,len(array)-1): sum =+ array[0+1] - array[0] return sum
I tried to implement the below function from linked research paper. Seems like I made a terrible mistake.
http://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=7748960
Fixed with https://github.com/rmantena/Myo_gestureArmBand_experiments/commit/9318fe68bf305623a70a0eeeae223f53b802e736
Can you explain what is the mean of this function? Why to sum array[1] - array[0] ?