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

Home » Public Forums » archive » Re: Help : I cannot poly_fit to 9 degree!!!
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 : I cannot poly_fit to 9 degree!!! [message #11579] Thu, 30 April 1998 00:00 Go to previous message
medimage is currently offline  medimage
Messages: 3
Registered: April 1998
Junior Member
4P:

There should be no relation to the system memory or operating system.
Otherwise it will be a hell.

Actually the problem you mentioned is a bug of IDL, IMHO, and has not
been corrected in IDL5.0. The fiting procedures in IDL stops when it
meets the following calculations:
0*x=1
That means you didn't have that problem when fit until to 8th degree,
but came out when you went to 9 degreee and thereafter.

Think about it easier way, you want to fit
x=[0,0] and y=[0,2]
IDL can only fit to 0th degree, and gives y=1
If you want to fit to 1 degree, IDL crashes!

Good luck

BTW, 4P, I haven't seen you often in ACT for a while. Are you going to
graduate soon from Chicago?

In article <6i9jat$jsa$3@gwdu19.gwdg.de>,
pit@uni-sw.gwdg.de wrote:
>
> In article <35483EFD.4747@midway.uchicago.edu>,
> Pao-hung Lin <plin21@midway.uchicago.edu> writes:
>> Guys, I need help in my research.
>>
>> I need to fit a x-y curve(200 points each)
>> in polymoninal to 9 degree or even 10 degree.
>> However, my IDL 4.01 on win 95 only allow me to fit
>> to 8 degree or less(just one degree less , isn't that great?)
>> 9 degree or higher will cause the program to crash and jump out.
>
> Is this on *every* fit you try with degree>8, or just with your
> (typical?) data? I just tried a poly_fit(x,y,12) here (IDL 4.01 on
> Linux P133/64MB) and it does work.
>


-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/ Now offering spam-free web-based newsreading
[Message index]
 
Read Message
Read Message
Previous Topic: Re: memory allocation for structure arrays
Next Topic: 32bit signed integer problems

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

Current Time: Fri Oct 10 09:48:09 PDT 2025

Total time taken to generate the page: 0.00188 seconds