Re: Curve fitting to known equation of line



Duncan Blyth wrote:


I am trying to fit a best fit line to a data set, for which I know
the equation of the line. The coefficients (K,J,L) and omegad (a
fixed value of omega) in the equation are constant. I can generate
a
set of data, but I cannot work backwards using this equation to
produce a best fit. This is mainly due to the fact that there is an
inverse relation in the equation. The basis fitting does not
provide
any luck. To add to my problems, I am unable to find the value of V
experimentally around the area where omega==omegad. This could
partially ease my troubles.

I have a link to the equation here : <http://personalpages.manchester.ac.uk/student/d.blyth/equation2.bmp>

Do I need the curve fitting toolbox to aid me (I only have the
student version) or is there a method that I am overlooking, which
would allow me to find K,J&L?

You cannot (uniquely) find all three of K, J, & L.

Suppose there was some arbitrary best combination
of these three parameters? Note that 2*K, 4*J, & 4*L
would then be equally good.

So you can arbitrarily set any one of these three
parameters to have the value 1.

Having done so, then the optimization toolbox (or
even fminsearch) will help you to estimate the best
pair of the other two parameters.

HTH,
John D'Errico
.



Relevant Pages

  • Re: fitting simultaneously multiple data set
    ... John D'Errico wrote: ... >> I have two data sets which I want to fit to the same functional ... >> data set 1, y1 ... > same, cat. ...
    (comp.soft-sys.matlab)
  • Curve fitting to known equation of line
    ... I am trying to fit a best fit line to a data set, ... The coefficients and omegad (a ... Do I need the curve fitting toolbox to aid me (I only have the ...
    (comp.soft-sys.matlab)
  • Re: fitting simultaneously multiple data set
    ... > I have two data sets which I want to fit to the same functional form, ... > data set 1, y1 ... The best material model of a cat is another, or preferably the same, cat. ...
    (comp.soft-sys.matlab)
  • Re: cftool
    ... There should also be a "new fit" button on the top. ... Click on the Data button and create a data set ... what version of MATLAB, what operating ... the MATLAB prompt to determine the Java version. ...
    (comp.soft-sys.matlab)
  • Re: cftool
    ... There should also be a "new fit" button on the top. ... Click on the Data button and create a data set ... what version of MATLAB, what operating ... the MATLAB prompt to determine the Java version. ...
    (comp.soft-sys.matlab)