"bobDizzle" <
ryanm...@yahoo.com> wrote in message
news:ms0b27$hfa$1...@newscl01ah.mathworks.com...
From the fact that you're receiving this error, that's NOT what a and b
contain. Either a = {1} or b = {2} or both. [Actually, given that you're
extracting data from a web page, I think it likely that A is {'1'} and B is
{'2'}. That adds just one more wrinkle.]
A cell array can contain ANY data; numeric, character, logical, even other
cells or structs. The various cells in a cell array can even contain
different data types:
A = {magic(7), dir, {ones(3)}}
class(A{1})
class(A{2})
class(A{3})
class(A{3}{1})
This is one of the reasons none of the arithmetic operators (including
division) are defined for cells.
--
Steve Lord
sl...@mathworks.com
To contact Technical Support use the Contact Us link on
http://www.mathworks.com