Borrar filtros
Borrar filtros

Help with saving iteration display from curve fitting toolbox into a .log file.

1 visualización (últimos 30 días)
I am using fit, and I want to save the iteration display for each iteration in some sort of .log file. The fit command I am using is as follows:
[fit_result, gof, fit_info] = fit(xdata_fit, ydata,ft,...
'problem', const_vals1,'Lower', lower_bound1,...
'Upper', upper_bound1, 'DiffMinChange', min_diff,...
'start', fit_start1,'Display','iter');
I would like to save the following information in a log file in the current workspace. How can I do this? Also, if it is possible, I would like to add some way to display the change in coefficient value (Of course this is how fit finds the exit criteria through 'DiffMinChange'). This information would also be helpful while optimizing. Any help would be amazing!

Respuestas (0)

Categorías

Más información sobre Least Squares en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by