MATLAB: Non linear least squares problem using BFGS

bfgsnon linear inverse problem

Hello,
I need to find solution to a non linear least squares problem using Gauss-Newton method, however I am only able to compute Jacobian matrix for a simple model, so I need to use updating methods like BFGS instead full Jacobian computation. Does anybody know how to solve this problem using Matlab?
Thanks

Best Answer

Do you want to code this yourself or is it OK to use something that comes with MATLAB?
For the FMINUNC function in the Optimization Toolbox, if set the Algorithm to Medium Scale it will use BFGS Quasi-Newton method with a cubic line search procedure.
Take a look at the following documentation page and scroll down to the section call Algorithm > Medium-Scale Optimization