help-octave
[Top][All Lists]
Advanced

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

ismatrix() reports "true" for cell arrays?


From: Tomer Altman
Subject: ismatrix() reports "true" for cell arrays?
Date: Sat, 22 Nov 2003 22:21:16 -0800 (PST)

Hi,

I'm using the "ancient" 2.1.50 version of Octave, so I'm not sure if
one of the more recent versions have this fix:

octave:1> ismatrix(cell(2,2))
ans = 1
octave:2> ismatrix(rand(2,2))
ans = 1
octave:3> 

I was hoping that ismatrix() would be disjoint with iscell():

octave:3> iscell(cell(2,2))
ans = 1
octave:4> iscell(rand(2,2))
ans = 0
octave:5> 

Any suggestions?

Thanks,

~Tomer



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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