<< isspace | String type | matches >> |
res = mat2str(M) |
res = mat2str(M, 'class') |
res = mat2str(M, P, 'class') |
a numerical 2D matrix or logical.
an integer value: precision, 15 by default.
a string
mat2str converts a matrix to a string.
This string may be used to reconstruct the original matrix with execstr function.
R = mat2str(pi)
R = mat2str(pi, 'class')
R = mat2str(pi, 4)
R = mat2str(pi + i, 'class')
execstr(['RB = ', R])
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET