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

Home » Public Forums » archive » Re: 2-d fitting
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: 2-d fitting [message #63540 is a reply to message #63532] Tue, 11 November 2008 23:02 Go to previous messageGo to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
On Nov 12, 12:25 am, xqinshan <xqins...@tom.com> wrote:
> Hi,
> I have a set of data zi at indepent vaiables (xi,yi). I want to get
> coefficients of a fiting function such as  f(x,y)=a*f1(x,y)+b*f2(x,y)
> +c*f3(x,y)+..., f1(x,y),f2(x,y)... are given by myself.  If f1(x,y),f2
> (x,y)... are polunomials, we can use sfit or mpfitfun to do it.  Are
> there any routins to do it?

Yes, but MPFITFUN is not limited to polynomials, it can be any
function you wish, including multiple variables.

http://www.physics.wisc.edu/~craigm/idl/fitqa.html#multivar

If the user function is a linear combination of known functions, then
SVDFIT can also be used.

Craig
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: latitude, longitude and a data point
Next Topic: How to control character size freely?

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

Current Time: Thu Oct 09 23:09:49 PDT 2025

Total time taken to generate the page: 1.12301 seconds