fitting parameter X and fval at each function evaluation during lsqnonlin iterations

Hello I am using lsqnonlin in order to carry out data fitting/curve fitting. Using the 'iter' display options i see that it takes n number of iterations to reach the final solution and I can also see the fval at each of this iteration. However during each iteration my function is evaluated twice. I would like to see or store the value of the parameter x and fval at each of these function evaluations. How can I do this? Thank you in advance.

Respuestas (0)

Categorías

Más información sobre Quadratic Programming and Cone Programming en Centro de ayuda y File Exchange.

Preguntada:

el 3 de Jun. de 2019

Editada:

el 3 de Jun. de 2019

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by