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 commentaires

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

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Get Started with Curve Fitting Toolbox dans Centre d'aide et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by