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

Home » Public Forums » archive » HELP NEEDED! to fit a linear equation containing 2 independant variables
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: HELP NEEDED! to fit a linear equation containing 2 independant variables [message #49040 is a reply to message #48943] Thu, 08 June 2006 13:10 Go to previous message
Brian Larsen is currently offline  Brian Larsen
Messages: 270
Registered: June 2006
Senior Member
Tony,

this is exactly what the regress function in idl does. Have a look at
its help page.

Cheers,

Brian

antoine.dlc@gmail.com wrote:
> Dear fellow IDL programmers,
>
> I'm trying to fit the parameters of a linear equation of type:
>
> z = a*x + b*y + c
>
> where a, b,c are constant parameters and x,y are two independant
> variables.
>
> In the past, I used the procedures LMFIT, LINFIT, CURVEFIT to fit
> equations but these only accept 1 independant variable.
>
> Can someone tell me if a procedure exists to fit the parameters of a
> linear equation made of 2 independant variables???
>
> If not, is it possible to give LMFIT, LINFIT, CURVEFIT...etc. 2
> independant variables instead of only 1?
>
>
> Thanks a lot !!!
> Tony
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Factory pressed dvd movies, ps2, psp, xbox backups for sale !!!
Next Topic: how to save image in full size

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

Current Time: Wed Oct 08 18:13:02 PDT 2025

Total time taken to generate the page: 0.00357 seconds