Curve Fitting Toolbox - change algorithm of fit

1 view (last 30 days)
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?

Accepted Answer

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

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!