[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NaNs in ascii

From: Dirk Eddelbuettel
Subject: Re: NaNs in ascii
Date: Sat, 26 Oct 2002 14:50:28 -0500
User-agent: Mutt/1.3.28i

On Sat, Oct 26, 2002 at 02:37:25PM -0500, Mike Miller wrote:
> What am I doing wrong?  Here's what happens:
> # echo '1 NaN' > junk.txt
> # octave
> octave:1> load junk.txt
> octave:2> disp(junk)
>   1  1
> So the NaN has become a 1.
> Even when I create the data in octave and use save -ascii, I can't bring
> it back in using load -ascii when there is a NaN in the matrix.
> Thanks in advance for any clues.

address@hidden:~> cd /tmp
address@hidden:/tmp> echo '1 NaN' > junk.txt
address@hidden:/tmp> octave2.1 -q
octave2.1:1> load junk.txt
octave2.1:2> junk
junk =

    1  NaN
octave2.1:3> quit

Time for an upgrade, maybe ?  This is with Debian's 2.1.37 which includes
two small post-release patches by JWE.


Good judgement comes from experience; experience comes from bad judgement. 

Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]