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

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

[Octave-bug-tracker] [bug #41579] HeaderLines parameter in textscan diff


From: Markus Bergholz
Subject: [Octave-bug-tracker] [bug #41579] HeaderLines parameter in textscan different between Octave and ML
Date: Thu, 13 Feb 2014 17:23:21 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.107 Safari/537.36

Follow-up Comment #1, bug #41579 (project octave):

Hm, looks for me the same (octave 3.8 and matlab 2013a, 2014a)

>> ttttt
    'year'    'day in year'    'day in month'    'month'    'hour'

        1900           1           1           1           1
        1900           1           1           1           2

>> whos
  Name         Size            Bytes  Class     Attributes

  ans          1x1                 8  double              
  fid          1x1                 8  double              
  headers      1x5               632  cell                
  nb_col       1x1                 8  double              
  t            1x1               192  cell                
  values       2x5                80  double              

>> headers{1,1}

ans =

year

>> headers{1,3}

ans =

day in month

>> size(headers)

ans =

     1     5






octave:1> ttttt

{
  [1,1] = year
  [1,2] = day in year
  [1,3] = day in month
  [1,4] = month
  [1,5] = hour
}
                  1900                     1                     1            
        1                     1
                  1900                     1                     1            
        1                     2
octave:2> whos
Variables in the current scope:

   Attr Name         Size                     Bytes  Class
   ==== ====         ====                     =====  ===== 
        ans          1x1                          8  double
        fid          1x1                          8  double
        headers      1x5                         36  cell
        nb_col       1x1                          8  double
        t            1x1                         80  cell
        values       2x5                         80  double

Total is 19 elements using 220 bytes

octave:3> headers {1,1}
ans = year
octave:4> headers {1,3}
ans = day in month
octave:7> size(headers)
ans =

   1   5


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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