Simple curve fitting with CurveFit (or alternative)

Indeed. That can be written in Julia as:

y2 = exp(fit.b) * x.^fit.a

(where fit.b and fit.a are the intercept and slope of the linear fit of the log-log plot - with base e. If you use base 10, use log10, and then y_2 = 10^{fit.b} x^{fit.a}.

1 Like