%% Determine if Arrays Are Cell Arrays
% Create a cell array.

A = {1,2,3;
     'text',rand(5,10,2),{11; 22; 33}}

%
% Determine if A is a cell array.

 tf = iscell(A)

%
% Create a numeric array. Test it by using the iscell function.

B = rand(2,5)

%

tf = iscell(B)

% Copyright 2019 The MathWorks, Inc.