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

1 vue (au cours des 30 derniers jours)
Steven Manz
Steven Manz le 21 Juil 2021
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!

Réponses (0)

Catégories

En savoir plus sur Least Squares dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by