Re: Surface fitting in IDL [message #79469] |
Fri, 02 March 2012 18:58 |
Sasha Singh
Messages: 13 Registered: November 2010
|
Junior Member |
|
|
On Mar 2, 2:50 pm, Bill Nel <ri...@crd.ge.com> wrote:
> On Mar 2, 1:00 pm, Sasha Singh <sashasingh....@gmail.com> wrote:
>
>> Hi,
>
>> I am new to IDL. I need to fit a function f(x,y)= A*
>> (x^a)*(y^b)*(exp(B*(x^c)*(y^d))) in IDL. No idea how to do it, any
>> help would be great.
>
>> Thanks much,
>> Sasha
>
> Take a look at the second example in the documentation for CURVEFIT.
> That might be what you're looking for.
>
> --Wayne
Thanks. I will read the curvefit documentation and see if I can do it.
|
|
|
Re: Surface fitting in IDL [message #79475 is a reply to message #79469] |
Fri, 02 March 2012 11:50  |
Bill Nel
Messages: 31 Registered: October 2010
|
Member |
|
|
On Mar 2, 1:00 pm, Sasha Singh <sashasingh....@gmail.com> wrote:
> Hi,
>
> I am new to IDL. I need to fit a function f(x,y)= A*
> (x^a)*(y^b)*(exp(B*(x^c)*(y^d))) in IDL. No idea how to do it, any
> help would be great.
>
> Thanks much,
> Sasha
Take a look at the second example in the documentation for CURVEFIT.
That might be what you're looking for.
--Wayne
|
|
|
Re: Surface fitting in IDL [message #79479 is a reply to message #79475] |
Fri, 02 March 2012 10:28  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Sasha Singh writes:
> I am new to IDL. I need to fit a function f(x,y)= A*
> (x^a)*(y^b)*(exp(B*(x^c)*(y^d))) in IDL. No idea how to do it, any
> help would be great.
I would say you do it pretty much like that! There
really is not much more to it. :-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|