num2strConverting a numeric array to a character array
num2str(A)num2str(A, 8). See the description of num2str(A, n) below.num2str(A, n)A should be a numeric array.n should be a real positive integer not equal to Inf nor NaN.A to characters with n digits. For example, if we set A = [1 2] and n = 3, the output would be the character array '1.00 2.00'.A is multi-dimensional, it is first reshaped to a matrix (i.e., 2D array) before the conversion.A is a character array, it returns A without change.A is empty, it returns an empty array.