This link indicates that the analogue of Matlab's lsqnonlin is LsqFit.jl in Julia. However, matlab uses the notation
x = lsqnonlin(fun,x0)
But Julia uses notation
fit = curve_fit(model, xdata, ydata, p0)
So what is the analogue of the x in Matlab notation, if I'm using LsqFit in Julia? In Julia command
fieldnames(fit)
Gives
5-element Array{Symbol,1}:
:dof
:param
:resid
:jacobian
:converged
where converged is a boolean type, and fit.param corresponds to the parameters vector p.
So where is the independent variable x?Want to solve for x in F(x)=0 where x and F are column vectors and F is a nonlinear function.