curve fitting toolbox error

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

 Respuesta aceptada

Matt J
Matt J el 2 de Jun. de 2014
Editada: Matt J el 2 de Jun. de 2014

1 voto

You must prevent the search from including a=0. Otherwise, you will have division by 0 operations x/a.

Más respuestas (0)

Categorías

Más información sobre Text Analytics Toolbox en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 2 de Jun. de 2014

Editada:

el 2 de Jun. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by