# Julia vs GNU Octave for plot fitting / finding peaks

**URL:** <https://discourse.julialang.org/t/julia-vs-gnu-octave-for-plot-fitting-finding-peaks/42237>\
**Category:** Signal and Image Processing\
**Tags:** data, curve-fitting\
**Created:** [June 29, 2020, 8:44am UTC](https://discourse.julialang.org/t/julia-vs-gnu-octave-for-plot-fitting-finding-peaks/42237 "2020-06-29T08:44:57Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![MatFi](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/matfi/32/10002_2.png) [@MatFi](https://discourse.julialang.org/u/MatFi)\
**Post date:** [June 29, 2020, 9:17am UTC](https://discourse.julialang.org/t/julia-vs-gnu-octave-for-plot-fitting-finding-peaks/42237/2 "2020-06-29T09:17:30Z")

</div>

> [@doronbehar](#):
>
> I’m currently using GNU octave to fit a simple cosine with a phase to many data sets stored in text files. For most data sets, the fit works well, but for some others, it doesn’t. I’m wondering whether I’d be able to get better results with Julia. I’ll explain:

I would say that you would get the best / most reliable / performing results in this case through [FFT](https://en.wikipedia.org/wiki/Fast_Fourier_transform).

---

_[View the full topic](https://discourse.julialang.org/t/julia-vs-gnu-octave-for-plot-fitting-finding-peaks/42237)._
