Curve Fitting Toolbox - change algorithm of fit

2 visualizzazioni (ultimi 30 giorni)
I'm making an adjustment, using a custom log equation, the following:
y = b * log (x) + c
I wanted to know how to change the default algorithm is the QR factorization for LU factorization, for example?

Risposta accettata

Titus Edelhofer
Titus Edelhofer il 22 Nov 2011
Hi,
apart from the question why you would like to do this: you always have the option to copy the function in question (here fit.m) to your project folder, rename it to "myfit", search the file for qr and replace accordingly. The renaming is strongly encouraged to make sure that some days/weeks/years later when running some code you don't accidently use the "wrong" algorithm ...
Titus
  1 Commento
Artur M. G. Lourenço
Artur M. G. Lourenço il 22 Nov 2011
Hi,
thanks for the help, I actually thought the curve fitting toolbox had a choice of algorithm and it would be necessary to change the function of the pre programmed matlab.
even more.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Curve Fitting Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by