%% Determine if Workspace Variable Is Table
% Create a workspace variable, T.

T = table(categorical({'M';'F';'M'}),[45 45;41 32;40 34],...
    {'NY';'CA';'MA'},[true;false;false])

%
% Verify that the workspace variable, T, is a table.

istable(T)

% T is a table.
% Copyright 2012 The MathWorks, Inc.