[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Mon, 06 Nov 2006 10:54:41 -0600
Thunderbird 18.104.22.168 (X11/20061027)
I am brand new to Octave. The code below works in
Matlab. However, I couldn't get it to work in Octave.
I get the error message "sparse row index out of
(I don't see right now why it would be out of range.)
y = sparse(y);
ycase = (sum(y,2)==1);
I have been trying to figure out if there is a
difference between sparse/octave and sparse/matlab but
I haven't come up with anything so far.
I'd appreciate if you shared your experiences or
suggestions on this with me.
Zeynep Kalaylioglu, Ph.D.
You didn't say which version of octave you're using. Sparse matrices are
best supported in version 2.9.9, so you should be using that to test
sparse features. I would test your code in 2.9.9, but you didn't provide
any code to generate the matrix y.
- sparse, Zeynep, 2006/11/06
- Re: sparse,
Quentin Spencer <=
- Re: sparse, David Bateman, 2006/11/06