Curve fitting tool fits a wrong equation
Show older comments
I am using Matlab for my physical chemistry lab evaluation. Currently I am trying to fit an equation
, using the custom equation function. When I fit
it works fine, but as soon as I add a second parameter, the fit bocomes linear and I can't figure out why.

3 Comments
the cyclist
on 28 Nov 2022
Can you upload the data? You can use the paper clip icon in the INSERT section of the toolbar.
Elizaveta Iavorskaia
on 28 Nov 2022
the cyclist
on 28 Nov 2022
Also, I don't think this should matter, but just to be absolutely certain, I would try coding the equation as
(a./x) + b
Accepted Answer
More Answers (0)
Categories
Find more on Get Started with Curve Fitting Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!