firstname.lastname@example.org wrote:I understand that "derivative(LowPass(A,5000))" is the cosine wave, thanks.
By the way, I tried to make cos wave like this, but it's not the expected wave.
What am I wrong?
When I was investigating this, I had also tried Integral(A). To get this to even look reasonable I had to play with the scaling - initially I was just getting a flat line. It didnt really make sense to me why I had to adjust it the way I did: IIRC it was +/- 0.001.
In any case, remember that the integral of sin is -cos + D. If there is any offset in the signal it will show up in the integral. In my experiments I did have an offset, but it did not seem to continue to grow, so the integral may be getting reset on every block/window of data.