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

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

[Octave-bug-tracker] [bug #31745] dlmread syntax change or nonfunctional


From: anonymous
Subject: [Octave-bug-tracker] [bug #31745] dlmread syntax change or nonfunctional
Date: Tue, 23 Nov 2010 17:15:11 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7

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

                 Summary: dlmread syntax change or nonfunctional
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Tue 23 Nov 2010 05:15:10 PM UTC
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: KeithG
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

dlmread does not work as per the help. Works correctly in 3.2.4, does not in
3.3.54. In 3.3.54, it seems to assume that it is complex numbers where it is
actually a column of data

Data looks like this:
1000.000
-0.016  0.000
-0.028  0.000
-0.022  0.000
-0.016  0.000
-0.016  0.000
-0.003  0.000
-0.016  0.000
-0.016  0.000
...

>data=dlmread("data1.txt",0,2,0);

>data
data =

   -0.02800 +  0.00000i
   -0.02200 +  0.00000i
   -0.01600 +  0.00000i
   -0.01600 +  0.00000i
...

In 3.2.4 the same command looks like this:
>data
data =

   -0.02800    0.00000
   -0.02200    0.00000
   -0.01600    0.00000
   -0.01600    0.00000
   -0.00300    0.00000
   -0.01600    0.00000








    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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