- From: "Matt Latourette" <matt@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 11 Mar 2007 14:41:20 -0500
The function "fun" is a function you define (which can be named
whatever you want... it doesn't have to be called "fun"). This
function is the model that you are fitting your data to. The
function takes as its arguments the parameter vector "x" and the
values of the independent variables represented as a vector "xdata"
and returns the value of the model with those parameters at the data
Régine D wrote:
Régine D wrote :
Thanks for your answer.
But I read the doc lsqnonlin(in the tutorial) and I don't
what is the function "fun". When I used this function, the message
"Undefined command/function 'fun'" appears.
'Ligne' is the name of my spectrum which has 270 points. I would
to curve-fit it(with 'Levenberg-Marquard' algorithm)on 15 points.
Can you help me?
You're in luck! Matlab has a function called 'lsqnonlin'
It has an option available that allows for the
best way to get information about it is to type
Régine D wrote:
I'm a sudent who used MatlabR2006a for the first time.
At present, I do a work experience in Laboratory.
My work is to use MatlabR2006 to curve-fitting a spectrum
transmittance?algorithm.differents positions with the 'Levenberg-Marquardt'
my spectrum is in transmittance(T) and I must pass it in
How can I do it for the curve fitting and the
Thanks you in advance.
- Prev by Date: Re: EASY QUESTION? fitting this data set...
- Next by Date: Hi i have more than 200 solution manuals for engineering and maths books emailme if you need someone
- Previous by thread: Re: LevenbergMarquardt
- Next by thread: displaying filled contour plots without interpolation