Multiple fit Commands?

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.

Respuestas (1)

Walter Roberson
Walter Roberson el 21 de Dic. de 2021

0 votos

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

Categorías

Más información sobre Linear and Nonlinear Regression en Centro de ayuda y File Exchange.

Preguntada:

JB
el 21 de Dic. de 2021

Respondida:

el 21 de Dic. de 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by