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

Home » Public Forums » archive » Problems getting CURVEFIT to work
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: Problems getting CURVEFIT to work [message #32884 is a reply to message #32860] Fri, 15 November 2002 15:22 Go to previous message
Pavel A. Romashkin is currently offline  Pavel A. Romashkin
Messages: 531
Registered: November 2000
Senior Member
Jonathan Greenberg wrote:
>
> Hello again Craig:
>
> You MPCURVEFIT function is terrific! I've started using it instead of
> CURVEFIT. One quick question, how does it deal with NaN values? I started
> including NaN values in my regressions, and I noticed some strange behavior
> from the output -- ideally it should just ignore the X,Y that has a NaN for
> the X value, but is this actually the case?

Aha! This handling of NANs is the only part I couldn't figure out why it
was not there.
All I do is filter my own data for NANs before fitting.
I guess Craig got distracted and didn't put WHERE(FINITE()) into his code...
And of course, the program is excellent. No question there.
Cheers,
Pavel
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: calling a function in herself
Next Topic: How to smooth lines in plots

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

Current Time: Sat Oct 11 19:07:53 PDT 2025

Total time taken to generate the page: 0.88014 seconds