6 isPosElemArr=logical.empty(size(valueArr));
9 isPosElemArr=cellfun(
'isclass',valueArr,
'double')|...
10 cellfun(
'isclass',valueArr,
'int32')|...
11 cellfun(
'isclass',valueArr,
'int64')|...
12 cellfun(
'isclass',valueArr,
'int16')|...
13 cellfun(
'isclass',valueArr,
'int8')|...
14 cellfun(
'isclass',valueArr,
'uint32')|...
15 cellfun(
'isclass',valueArr,
'uint64')|...
16 cellfun(
'isclass',valueArr,
'uint16')|...
17 cellfun(
'isclass',valueArr,
'uint8')|...
18 cellfun(
'isclass',valueArr,
'single');
20 isPositive=all(isPosElemArr(:));
25 isPosElemArr=
false(size(valueArr));
function iscellnumeric(in valueArr)
ISCELLNUMERIC returns true for a cell arrays consisting of numeric elements only. ...