%% Specify Precision
% Specify the maximum number of significant digits for floating-point values.

rng('default')
A = randn([2,2]);
s = num2str(A,3)

% Copyright 2015 The MathWorks, Inc.