Filter löschen
Filter löschen

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

1 Ansicht (letzte 30 Tage)
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!

Antworten (0)

Kategorien

Mehr zu Least Squares finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by