필터 지우기
필터 지우기

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

조회 수: 1 (최근 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개)

카테고리

Help CenterFile Exchange에서 Least Squares에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by