Help with saving iteration display from curve fitting toolbox into a .log file.
2 次查看(过去 30 天)
显示 更早的评论
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!
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Linear and Nonlinear Regression 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!