NaN and Inf error when using "fit"
Mostra commenti meno recenti
Does anyone know why this error occurs when "fit" is called? My data contain no NaN or Inf.
Warning: NaN, Inf, or complex value detected in startpoint; choosing random starting point instead. > In curvefit.attention.Warning/throw (line 30) In fit>iFit (line 299) In fit (line 108) In MyCode (line 47) >>
Risposte (1)
Jos (10584)
il 21 Giu 2018
0 voti
Are you really sure?
Set a breakpoint in line 47 of your function MyCode, and check the values you enter into fit ...
Categorie
Scopri di più su Get Started with Curve Fitting Toolbox in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!