num2str
Convert a matrix to its string representation.
(s)=num2str(a)
Inputs
a Any matrix.
Outputs
s An array of characters in which each row is concatenation of the string representation of the elements of the corresponding row the input.


Description
Sufficient number of blanks are inserted between the string representation of the elements of the input so that each row has same number of characters.
Example
>>a=[E pi 2;pi 2 E]
>>a
    2.7183    3.1416    2.0000
    3.1416    2.0000    2.7183

>>b=num2str(a)
>>b
    2.7183      3.1416           2
    3.1416           2      2.7183
>>class(a)
Matrix
>>class(b)
CharNDArray