curve fitting toolbox error

1 Ansicht (letzte 30 Tage)
Jernej
Jernej am 2 Jun. 2014
Bearbeitet: Matt J am 2 Jun. 2014
I am trying to fit data to this equation b*(coth(x/a)-a/x) using the curve fitting toolbox. I get this error NaN computed by model function, fitting cannot continue. Try using or tightening upper and lower bounds on coefficients. Here is the screenshot: https://www.dropbox.com/s/2bgx89frrx2pjbo/b_h.jpg

Akzeptierte Antwort

Matt J
Matt J am 2 Jun. 2014
Bearbeitet: Matt J am 2 Jun. 2014
You must prevent the search from including a=0. Otherwise, you will have division by 0 operations x/a.

Weitere Antworten (0)

Kategorien

Mehr zu Text Analytics Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by