I have arbitrary functions of time $y(t)$ (sin, linear, sawtooth, triangular, etc) with two types of data sampling, namely constant sampling rate and variable sampling rate (in some parts the function has a denser collection of values than in other parts).
I would like to know:
Is there a numerical method to integrate a function with constant sampling rate. Is there a numerical method to integrate a function with variable sampling rate with the best accuracy ?
If I integrate both functions with constant and variable sampling rate, will I get about the same results?
Below I'm showing an example of the same function $y(t)$ with constant and variable sampling rates.
