comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: What is the difference between 'curvefit', 'lmfit' and 'svdfit' procudure?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: What is the difference between 'curvefit', 'lmfit' and 'svdfit' procudure? [message #52913 is a reply to message #52910] Wed, 07 March 2007 06:20 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
"duxiyu@gmail.com" <duxiyu@gmail.com> writes:

> I have a set of 'x' and 'y', and want to use a special function 'f(x)'
> to fit it.
> The function 'f(x)' contains three parameters.
> But I'm confused by the three different procudure 'curvefit', 'lmfit'
> and 'svdfit'.
> It seems that all of them can meet my request, but I don't know the
> difference between them.

SVDFIT is for fitting linear combinations of basis functions, probably
not what you wanted. You could use LMFIT or CURVEFIT.

You can also graduate straight to MPFIT and MPFITFUN which are both
easier to use, and give you more options when you need them.

Good luck!
Craig

See http://cow.physics.wisc.edu/~craigm/idl/idl.html (under Curve Fitting)
--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@REMOVEcow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: strange behaviour of ladfit - known?
Next Topic: using Container object for Strings?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 03:31:06 PDT 2025

Total time taken to generate the page: 0.01093 seconds