when I use simulate signal as input in Integral x(t) PtByPt the integral x(t) is wrong ( = constant ) but in Integral x(t) is right.
Simulate Signal:
f = 10 Hz, Amp = 1, rate = 1000 sinewave
what different between PtByPt the integral x(t) and Integral x(t) ???
<<Also I noticed that your data does not start at a zero crossing, so this introduces a DC bias until a large number of cycles have passed
actually, the input is a contiunous signal, it should start at zero.