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}.
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}.