powered by
This function takes the gradient of f using finite differences
gradient(f, binsize)
vector with \(N\) samples
scalar of time samples
g vector with \(N\) samples which is the gradient of f
# NOT RUN { data("simu_data") out = gradient(simu_data$f[,1],mean(diff(simu_data$time))) # }
Run the code above in your browser using DataLab