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

Home » Public Forums » archive » linear fit y=ax
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
linear fit y=ax [message #46672] Wed, 07 December 2005 08:14
lajam is currently offline  lajam
Messages: 4
Registered: September 2005
Junior Member
Hello,

I have a very easy question but I didn't find the answer in the IDL
reference guide. I want to fit data with a linear fit y=ax. I want to
impose my fit to pass by zero. I have looked at the linfit, regress,
... functions and I didn't understand how to adapt these functions for
my problem. I have tried with regress:
result=regress(desired_value,calculated_value,weigths) but I'm not sure
that it's the regular way to obtain calculated_value=A*desired_value.
Could someone help me, please?


Thanks,
Cedric
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: idl license server an mac powerbook
Next Topic: Creating Panels in iTools

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

Current Time: Fri Oct 10 13:39:07 PDT 2025

Total time taken to generate the page: 1.35891 seconds