%% Convert Matrix
% Convert a numeric matrix to a character vector.

chr = mat2str([3.85 2.91; 7.74 8.99])

%
% You can convert chr back to a numeric matrix using the eval function.

A = eval(chr)

% Copyright 2012 The MathWorks, Inc.