Hello!
I am reading, from DAQ USB-6009, a periodic signal. Lets imagine that the signal is a periodic triangular wave that I have on an array of N*X elements, in which N is the number of cycles of the wave, X the number of elements of each cycle.
My idea now is to average all this periodic waves!
I want to pic the first value (index=0) of each periodic wave, that is, pic the element 0, 0+X, 0+2X, 0+3X...until 0+NX and calculate the average of this group.
Then I want to do the same for each point of the wave (index=1, 2, 3...X)!
The final result is just one cycle with the same period and the same number of elements (X), but that is the average of all waves!
How can I do this automatic?
Thanks for your answers
Alexandre Ferreira da Silva