%% Convert Arrays to Cell Array
% Place all elements of a numeric array into separate cells.

a = magic(3)
c = num2cell(a)

%
% Place individual letters of a word into separate cells of an array.

a = ['four';'five';'nine']
c = num2cell(a)

% Copyright 2015 The MathWorks, Inc.