int2str

Convert an integer array to a string

Syntax

  • res = int2str(var)

Input argument

  • var - an numeric array.

Output argument

  • 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.

History

VersionDescription

1.0.0

initial version

Author

Allan CORNET

Last updated