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

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

[Octave-bug-tracker] [bug #38870] load reads stochastic data from MAT -f


From: anonymous
Subject: [Octave-bug-tracker] [bug #38870] load reads stochastic data from MAT -file
Date: Thu, 02 May 2013 17:11:58 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0

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

                 Summary: load reads stochastic data from MAT -file
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Thu 02 May 2013 05:11:57 PM UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Risto Vanhanen
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.2.4
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Load function gives out stochastic data for a few element MAT -file.

Used file (results.mat) attached: all included doubles are 0xEEEEEEEE. Matlab
8.0.0.783 reads this correctly. Saving in Matlab and reloading in Octave
solves the acute problem, but does not really solve the underlying problem in
Octave.

Here is the backlog:

----------------------------------------------
octave:1> version
ans = 3.2.4
octave:2> clear; run2 = load('results.mat'); run2.q
ans =

   6.9225e-310
   6.9225e-310
   2.1220e-314
   6.9225e-310
   2.3715e-322
   2.3715e-322
   6.9567e-317
   6.9566e-317
   6.8847e-317
   1.1932e+190
   4.7430e-322
   3.1620e-322
   6.9333e-317
   6.9322e-317
   6.9953e-317
   6.9737e-317
   9.0236e-317
   9.0261e-317
   9.0261e-317
   1.0326e-321
   6.8898e-317
   9.0182e-317
   6.8861e-317
   4.9407e-324
    0.0000e+00
   2.4209e-322
   6.9553e-317
   7.0220e-317
   9.1979e-317
   6.9225e-310
   4.7430e-322
   3.1620e-322
   9.0182e-317

octave:3> clear; run2 = load('results.mat'); run2.q
ans =

  6.9225e-310
  6.9225e-310
  1.5810e-322
  2.3715e-322
  9.2235e-317
  5.4347e-323
  2.1220e-314
   6.2590e-85
  3.7683e-317
  1.3488e-321
  6.9225e-310
  6.9995e-317
  8.1152e-317
  8.3198e-317
  8.3198e-317
  6.3734e-322
  8.2575e-317
  6.9919e-317
   0.0000e+00
   0.0000e+00
  8.3072e-317
  7.7742e-317
  7.7742e-317
  3.2114e-322
  9.2222e-317
  6.9543e-317
   0.0000e+00
   0.0000e+00
  8.3547e-317
  8.3429e-317
  1.5810e-321
  3.1620e-322
  6.8920e-317

octave:4> whos -file 'results.mat'
Variables in the file results.mat:

  Attr Name         Size                     Bytes  Class
  ==== ====         ====                     =====  ===== 
       q           33x1                        264  double
       w           33x1                        264  double
       xxxxxxx      1x12                        12  char
       yyyyyy      34x1                        272  double
       z           33x33                      8712  double

Total is 1201 elements using 9524 bytes
----------------------------------------------



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thu 02 May 2013 05:11:57 PM UTC  Name: results.mat  Size: 10kB   By:
None
Test data.
<http://savannah.gnu.org/bugs/download.php?file_id=27995>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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