powered by
Integrate using trapezoidal rule
trapz(y, dt)
Input signal
sample interval time, seconds
vector: Integrated signal
# NOT RUN { x <- rnorm(100) trapz(x, 0.01) # }
Run the code above in your browser using DataLab