RF Wireless World

Browse articles, tutorials, tools, and vendors.

Integer to String Conversion in MATLAB: int2str Function

By RF Wireless Expert Team

This page provides information about the int2str MATLAB function, which converts integer inputs to string outputs.

The int2str function first rounds the elements of the input matrix to the nearest integer value before converting them into a string.

Example:

input = [12.6000   30.8000];
output = int2str(input)

Output:

output = 13 31

Explore MATLAB Data Types, Strings & Conversions

Continue Learning MATLAB

Keep Reading