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

Home » Public Forums » archive » Re: Missing data and MPFITFUN
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: Missing data and MPFITFUN [message #50935 is a reply to message #50926] Mon, 23 October 2006 04:09 Go to previous messageGo to previous message
Allan Whiteford is currently offline  Allan Whiteford
Messages: 117
Registered: June 2006
Senior Member
googlegroups@higginsnet.com wrote:
> I'm trying to fit a function to a data set with many missing data
> points. E.g. (made up data:)
>
> x | y
> 0 2,3,6,7,7
> 1 3,4,5,NaN,8
> 2 2,NaN,5,7,NaN
>
> Having missing data values, or inserting NaN (where NaN =
> !VALUES.F_NAN), trips up MPFITFUN.
>
> Is there a way of saying to IDL "just ignore missing values"?
>

Set the weight of the missing data values to zero when doing the fit.

Thanks,

Allan
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Title in iPlot
Next Topic: Re: Postscript and MikTeX 2.5

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

Current Time: Wed Oct 08 18:09:20 PDT 2025

Total time taken to generate the page: 0.00578 seconds