%% Convert Array to Table Including Variable Names
% Create an array of numeric data.

A = [1 12 30.48; 2 24 60.96; 3 36 91.44]

%
% Convert the array, A, to a table and include variable names.

T = array2table(A,...
    'VariableNames',{'Feet','Inches','Centimeters'})

% Copyright 2012 The MathWorks, Inc.