fitting the equation on a graph and finding unknown parametrs

5 views (last 30 days)
I've some plot and a given equation with some unknown parameters in it. I've to find out the unknown parameters by fitting that equation in to the plot. Please guide me how can I do that?

Answers (2)

Walter Roberson
Walter Roberson on 7 Mar 2011
polyfit, linear regression, non-linear regression, log-linear regression... There are different ways depending upon the form of the equation. It would probably help if you posted the equation and indicated which symbols needed to be fit.
  1 Comment
Abdul Samad
Abdul Samad on 7 Mar 2011
Equation is below
Eg=E-at.^2/(b+t)
and the parameters that need to be known are 'a' and 'b'.
Since I'm a new user of Matlab so a detailed answer will be appreciated:)

Sign in to comment.


Brett Shoelson
Brett Shoelson on 7 Mar 2011
You've gotta love the Curve-Fitting Toolbox for this!
Cheers,
Brett
  1 Comment
Abdul Samad
Abdul Samad on 7 Mar 2011
Thanks Brett for the link, it's quite useful for learning. For now it is hard for me to get the one I required :)

Sign in to comment.

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!