nick_name
nick_name

Reputation: 1373

Curve Fitting - Suggestions please

Are there any good free programs for curve fitting out there? I have MATLAB and Mathematica, but I don't have MATLAB's extra toolkits. I want to fit a function of this form: (K*(c)^a)/x where K,c,a are constants and x is the variable.

Upvotes: 1

Views: 460

Answers (3)

Vadym  Pasko
Vadym Pasko

Reputation: 349

Check out SplineCloud - it has a free online interactive curve fitting tool. With the help of client libraries for Python and MATLAB you can reuse construed curves in your code.

Here is an article explaining the benefits of using SplineCloud for curve fitting.

Upvotes: 0

nick_name
nick_name

Reputation: 1373

Mathematica has a function called FindFit. You can perform a fit for a function as I described in the following way:

data = Import["data.csv"];
f1 = FindFit[data, (k*(0.4*^-3)^a)/x, {k, a}, x, NormFunction -> (Norm[#, 1] &)]

Upvotes: 2

dagnelies
dagnelies

Reputation: 5329

With both Matlab and Mathematica, you can easily perform curve fitting, without any additional toolkits.

Otherwise, you may look at numpy/scipy, it's quite good for that kind of stuff. Lastly, there are several "clones" of Matlab which you may google, QtOctave comes to my mind.

Upvotes: 0

Related Questions