MATLAB: How to convert entries of a matrix to a character array

arraymatrix arraystrings

Say you have the matrix [1,0,1]. How would you convert this into the character array '101' in as few steps as possible?

Best Answer

num2str([1,0,1],'%d')
Related Question