How do i find values from a fitted curve Matlab Curve Fitting?

4 views (last 30 days)
Hello,, Okay , So I have values of R and t . And I know that I can plot them . However the function I have is R=R0 * e^(xt) . I know how to make the plot , but I want to have all the values of R0 and x . Any idea how can I get these ? Thank you .

Answers (1)

dpb
dpb on 30 May 2015
Use the Save To Workspace option for the fit...it's not all that intuitive of an interface I agree...then you get a fit object which is just a structure that contains the coefficients and other data associated with the fit.
About only way to figure all this out is to use the Help button for the Fit Tool at the menu and then work thru one of the examples.
Alternatively, you can dispense with the interactive tool and use fit() directly and get there more directly.
  2 Comments
dpb
dpb on 30 May 2015
Well, those are the fitted coefficients of the model--there is only one value for each.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!