int2str
Convert an integer array to a string
📝Syntax
res = int2str(var)
📥Input Arguments
Parameter Description
var an numeric array.
📤Output Arguments
Parameter Description
res a string
📄Description
int2str converts an numeric array to a string with integer format. Inputs are rounded before conversion.
💡Examples
R = int2str ([-Inf, 2, NaN; 4, Inf, 6])
R = int2str(uint64(intmax('uint64')))
🔗See Also
char
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub