help-octave
[Top][All Lists]
Advanced

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

Re: load sparse matrix from matlab hdf5 file


From: Francesco Potortì
Subject: Re: load sparse matrix from matlab hdf5 file
Date: Fri, 01 Apr 2011 12:01:03 +0200

>Am Donnerstag, den 31.03.2011, 18:41 +0200 schrieb Christian Fischer: 
>> Hi
>> 
>> I want to load a sparse matrix from hdf5 file created by matlab.
>> I ended up with a struct like:
>> 
>> octave3.3.54:3> a
>> a =
>> {
>>   data =
>>      1   2   3
>>   ir =
>>     0  1  2
>>   jc =
>>     0  1  2  3
>> }
>> 
>> Is it possible to load the matrix as sparse matrix? Or is there a quick way 
>> to
>> convert the struct into a sparse matrix in octave.

Hve you looked at spconvert?

-- 
Francesco Potortì (ricercatore)        Voice: +39 050 315 3058 (op.2111)
ISTI - Area della ricerca CNR          Fax:   +39 050 315 2040
via G. Moruzzi 1, I-56124 Pisa         Email: address@hidden
(entrance 20, 1st floor, room C71)     Web:   http://fly.isti.cnr.it/


reply via email to

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