error message when trying to fit model parameters to data-set
Show older comments
Can you please tell me what to do when this message appears:
Fit could not be computed due to error:
Complex value computed by model function, fitting cannot continue. Try using or tightening upper and lower bounds on coefficients.
I already tightened the parameter boundaries to the max, where I still expect reliable data. Could there be another reason why I can not get the fitting done? Granted, my function is a exotic one, derived from an equivalent circuit model.
Thank you for your help
2 Comments
Star Strider
on 24 Aug 2012
Are you fitting real (time-domain) or complex (frequency-domain) data? Are you using nlinfit, lsqcurvefit, or the Curve Fitting Toolbox?
RAJESH AGARWAL
on 3 Aug 2015
Yes
Answers (0)
Categories
Find more on Get Started with Curve Fitting Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!