error message when trying to fit model parameters to data-set

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 Kommentare

Are you fitting real (time-domain) or complex (frequency-domain) data? Are you using nlinfit, lsqcurvefit, or the Curve Fitting Toolbox?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Get Started with Curve Fitting Toolbox finden Sie in Hilfe-Center und File Exchange

Produkte

Gefragt:

am 24 Aug. 2012

Kommentiert:

am 3 Aug. 2015

Community Treasure Hunt

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

Start Hunting!

Translated by