powered by
Convert the autocorrelation of a stationary sequence x = (x_1, ..., x_N) to that of its increments, dx = (x_2 - x_1, ..., x_N - x_(N-1)).
x = (x_1, ..., x_N)
dx = (x_2 - x_1, ..., x_N - x_(N-1))
acf2incr(acf)
Length-N vector of position autocorrelations.
N
Length N-1 vector of increment autocorrelations.
N-1
# NOT RUN { acf2incr(acf = exp(-(0:10))) # }
Run the code above in your browser using DataLab