fitting the equation on a graph and finding unknown parametrs

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)

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

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.

You've gotta love the Curve-Fitting Toolbox for this!
Cheers,
Brett

1 Comment

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.

Asked:

on 7 Mar 2011

Community Treasure Hunt

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

Start Hunting!