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

Home » Public Forums » archive » Fill Missing values with NaN
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: Fill Missing values with NaN [message #94670 is a reply to message #94666] Thu, 10 August 2017 23:51 Go to previous messageGo to previous message
Helder Marchetto is currently offline  Helder Marchetto
Messages: 520
Registered: November 2011
Senior Member
I don't get the question. So I will just suggest the use of the function finite() to check for not-NaN values in densnew. This will give you the valid indices.

valInd = finite(densnew)

times_fromAlltimes = alltimes[valInd]
dens_fromDensnew = densnew[valInd]

Hope it helps.
Helder
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: plot solid circle on image
Next Topic: IDL LSODE double precision

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

Current Time: Wed Oct 08 16:03:38 PDT 2025

Total time taken to generate the page: 0.00579 seconds