On 12/1/06, david moloney <address@hidden> wrote:
I tried including the mmread and mmwrite files downloaded from
http://math.nist.gov/MatrixMarket/mmio/matlab/mmiomatlab.html in my
Octave search path. These .m files however generate errors and do not
appear to be compabible with octave syntax. Is there some other way of
reading .mtx files in Octave?
Which version of Octave are you using? mminfo and mmread seem to work
fine with the latest octave-2.9.9 and the associated octave-forge
packages for debian unstable. I didn't try mmwrite. I only tried it
against the 1138_bus.mtx matrix. Here is a snippet of the results:
octave-2.9.9:2> A=mmread("1138_bus.mtx")
A =
Compressed Column Sparse (rows = 1138, cols = 1138, nnz = 2596)