Multiple fit Commands?
Afficher commentaires plus anciens
I am using the fit command from the Curve Fitting Toolbox to fit some data to a gaussian curve and store the root mean square error.
[model_formula,stats] = fit(x,y,'gauss1');
error = stats.rmse;
From What I can discern, the fit function from the Curve Fitting Toolbox uses a non-linear least squares regression method. I noticed that the Model-Based Calibration Toolbox also has a function that uses the same command (fit). Does the fit command from the Model-Based Calibration Toolbox uses the same method in the background? Would there be any benefit to using one of these fit commands over the other? Any knowledge or advice on this topic is appreciated - thanks.
Réponses (1)
Walter Roberson
le 21 Déc 2021
0 votes
There is some overlap in functionality, but the supported built-in models are fairly different.
For example the Curve Fitting Toolbox does not provide methods for Latin Hypercube sampling; https://www.mathworks.com/help/mbc/mbccommandline/mbcmodel.model.createdesign.html
Catégories
En savoir plus sur Design of Experiments dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!