You could also fit your data with a spline, which would avoid Runge’s phenomenon.
See this previous post for an example using BSplineKit.jl.
You could also fit your data with a spline, which would avoid Runge’s phenomenon.
See this previous post for an example using BSplineKit.jl.