Curve Fitting Toolbox - change algorithm of fit

2 Ansichten (letzte 30 Tage)
Artur M. G. Lourenço
Artur M. G. Lourenço am 22 Nov. 2011
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?

Akzeptierte Antwort

Titus Edelhofer
Titus Edelhofer am 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 Kommentar
Artur M. G. Lourenço
Artur M. G. Lourenço am 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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu 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!

Translated by