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

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

[Octave-bug-tracker] [bug #36603] sparse matrices with no nonzero elemen


From: Jordi Gutiérrez Hermoso
Subject: [Octave-bug-tracker] [bug #36603] sparse matrices with no nonzero elements cannot be loaded in Matlab
Date: Tue, 11 Sep 2012 05:37:06 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20110109 Forestcow/3.6.13

Follow-up Comment #2, bug #36603 (project octave):

I just spent some time looking byte-for-byte at the resulting mat files, and
I'm quite stumped. As far as I can tell, Octave obeys the published spec for
mat files.

Could you please show me the following mat files? I'll try to reverse-engineer
the format that Matlab expects:


o = sparse(108,0);
save -v7 o.mat o;
x = sparse(108,108);
save -v7 x.mat x;
s = x;
s(500) = 42;
s(1000) = inf;
save -v7 s.mat s;


Then send me s.mat, o.mat, and x.mat.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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