[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
load sparse matrix from matlab hdf5 file
From: |
Christian Fischer |
Subject: |
load sparse matrix from matlab hdf5 file |
Date: |
Thu, 31 Mar 2011 18:41:54 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20110307 Lightning/1.0b1 Icedove/3.0.11 |
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.
Thank you for your help
Christian
smime.p7s
Description: S/MIME Cryptographic Signature
- load sparse matrix from matlab hdf5 file,
Christian Fischer <=