%% Determine Character Types in Numeric Array
% Create a numeric array. Determine which numbers correspond to character codes for letters.

X = [77 65 84 76 65 66]

%

TF = isstrprop(X,'alpha')

%
% isstrprop identifies all the numbers as character codes for letters. Convert the numbers to their corresponding characters with the char function.

c = char(X)

% Copyright 2012 The MathWorks, Inc.