why do I see error in curve fitting?
8 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
MP
am 16 Dez. 2021
Kommentiert: Walter Roberson
am 17 Dez. 2021
What I try to run the below example given under the link : https://in.mathworks.com/help/curvefit/fit.html
clear; close all; clc;
load census;
f=fit(cdate,pop,'poly2');
plot(f,cdate,pop);
it throws following error...
Unable to resolve the name curvefit.attention.Error.
Error in fit>iCreateErrorFunction (line 631)
errorFcn = curvefit.attention.Error();
Error in fit (line 107)
errorFcn = iCreateErrorFunction( nargout > 4 );
Can anyone please help?
3 Kommentare
Akzeptierte Antwort
Walter Roberson
am 16 Dez. 2021
The Curve Fitting Toolbox needs to be reinstalled.
4 Kommentare
Walter Roberson
am 17 Dez. 2021
It is possible for that message to show up if you have the Curve Fitting Toolbox installed, but somehow do not have a license to use it.
For individual licenses, it is typically only possible to install toolboxes you have a license for, but there are some situations in which it is possible.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Get Started with Curve Fitting 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!