MATLAB CURVE FITTING TOOLBOX - RELEASE NOTES Guide de l'utilisateur Page 186

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 216
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 185
fitoptions
4-110
Example Create an empty fit options object and configure the object so that data is
normalized before fitting.
opts = fitoptions;
opts.Normal = 'on'
opts =
Normalize: 'on'
Exclude: []
Weights: []
Method: 'None'
Creating an empty fit options object is particularly useful when you want to
configure only the
Normalize, Exclude, or Weights properties for a data set,
and then fit the data using the same fit options object, but with different fitting
methods. For example, fit the census data using a third-degree polynomial, a
one-term exponential, and a cubic spline.
load census
f1 = fit(cdate,pop,'poly3',opts);
f2 = fit(cdate,pop,'exp1',opts);
f3 = fit(cdate,pop,'cubicsp',opts);
MaxFunEvals
Maximum number of function (model) evaluations
allowed. The default value is 600.
MaxIter Maximum number of fit iterations allowed. The default
value is 400.
TolFun Termination tolerance on the function (model) value. The
default value is 10
-6
.
TolX Termination tolerance on coefficients. The default value is
10
-6
.
Property Description (Continued)
Vue de la page 185
1 2 ... 181 182 183 184 185 186 187 188 189 190 191 ... 215 216

Commentaires sur ces manuels

Pas de commentaire