Error "NaN computed by model function." when try to fit a Gaussian to some data....
1 view (last 30 days)
Show older comments
Hello,
The full error msg is: ??? NaN computed by model function.
Error in ==> fit at 443 errstr = handleerr( errid, errmsg, suppresserr );
Error in ==> memory_analysis3 at 155 [ff,gof,out] = fit(x',y','gauss1');
Where, x = linspace(1,500,30); and y = hist(er1(:,kju+1),x); kju=kju+17; Thank you in advance.
0 Comments
Answers (0)
See Also
Categories
Find more on Linear and Nonlinear Regression in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!