# Package for fitting a curve and storing the function

**URL:** <https://discourse.julialang.org/t/package-for-fitting-a-curve-and-storing-the-function/66135>\
**Category:** General Usage\
**Created:** [August 10, 2021, 2:05pm UTC](https://discourse.julialang.org/t/package-for-fitting-a-curve-and-storing-the-function/66135 "2021-08-10T14:05:06Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![jipolanco](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jipolanco/32/12129_2.png) [@jipolanco](https://discourse.julialang.org/u/jipolanco)\
**Post date:** [August 10, 2021, 3:17pm UTC](https://discourse.julialang.org/t/package-for-fitting-a-curve-and-storing-the-function/66135/6 "2021-08-10T15:17:28Z")

</div>

You could also fit your data with a spline, which would avoid Runge’s phenomenon.

See [this previous post](https://discourse.julialang.org/t/smoothing-interpolation-for-tachometer-data/56117/11) for an example using [BSplineKit.jl](https://github.com/jipolanco/BSplineKit.jl).

---

_[View the full topic](https://discourse.julialang.org/t/package-for-fitting-a-curve-and-storing-the-function/66135)._
