octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #44967] load() does not load ascii-file matrix


From: Malte Hinrichs
Subject: [Octave-bug-tracker] [bug #44967] load() does not load ascii-file matrix, when there are too many NA values:
Date: Thu, 30 Apr 2015 09:12:13 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/600.5.17 (KHTML, like Gecko) Version/8.0.5 Safari/600.5.17

URL:
  <http://savannah.gnu.org/bugs/?44967>

                 Summary: load() does not load ascii-file matrix, when there
are too many NA values:
                 Project: GNU Octave
            Submitted by: maldje
            Submitted on: Do 30 Apr 2015 09:12:12 GMT
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.8.2
        Operating System: Mac OS

    _______________________________________________________

Details:

Please check the following example:


octave:1> x=ones(3);
octave:2> x(2,2)=NA;
x =

     1     1     1
     1    NA     1
     1     1     1

octave:3> save("-ascii","x.txt","x")
octave:4> y=load("-ascii","x.txt")
y =

     1     1     1
     1    NA     1
     1     1     1

octave:5> x(:,3)=NA
x =

     1     1    NA
     1     1    NA
     1     1    NA

octave:6> save("-ascii","x.txt","x")
octave:7> y=load("-ascii","x.txt")
error: load: failed to read matrix from file 'x.txt'






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44967>

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/




reply via email to

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