Can I monitor the progress of a fitting?

2 views (last 30 days)
Hi,
I'm using MATLAB R2016a. I'm trying to fit a computationally expensive function and I want to monitor either the fitting progress or how the parameters evolve in each iteration of the fitting.
Is there any (easy) way of doing this?
Thank you!

Answers (1)

Sulaymon Eshkabilov
Sulaymon Eshkabilov on 4 Aug 2021
If you are going to employ nonlinear fit with lsqcurvefit or fminunc, you can obtain some data from each iteration, see the full doc here: https://www.mathworks.com/help/optim/ug/nonlinear-data-fitting-example.html

Categories

Find more on Interpolation in Help Center and File Exchange

Products


Release

R2016a

Community Treasure Hunt

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

Start Hunting!