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

Home » Public Forums » archive » Re: Help with SVDFIT (newbe)
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Help with SVDFIT (newbe) [message #7031] Thu, 12 September 1996 00:00
Christian Soeller is currently offline  Christian Soeller
Messages: 46
Registered: August 1996
Member
"H.Greeley" <hal_greeley@valley.net> writes:

>
> I am trying to fit an exponential using SVDFIT. Could someone give me a
> fairly detailed example of how to use the FUNCT parameter .

Instead of supplying an example I would suggest you had a look at the relevant
chapter about Modelling of Data in NUMERICAL RECIPES in C(FORTRAN, PASCAL,
etc). Section 15.4 (General Linear Least Squares) and subsection
Solution by Use of Singular Value Decomposition therein explain what
the user supplied function (FUNC in IDL) should do, namely evaluate
the M basis functions (e.g. polynomials, cosines, etc) at the supplied
N input points and return an (N,M) array of results. See also the
documentation at the beginning of the idl source code (i.e., type
DOC_LIBRARY,'SVDFIT' at the IDL prompt).

Regards,

Christian

PS. Are you sure you want to do a multidimensional fit? Otherwise you're
better off using the function CURVEFIT for your fitting problem. I can send
you an example of using curvefit if required.
------------------------------------------------------------ --------
Christian Soeller mailto: csoelle@sghms.ac.uk
St. Georges Hospital Medical School Dept. of Pharmacology
Cranmer Terrace London SW17 0RE
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: tested random # generator?
Next Topic: Slide_Image (widget_draw) Scollbar-Position ?

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

Current Time: Fri Oct 10 15:06:59 PDT 2025

Total time taken to generate the page: 1.04288 seconds