MATLAB: How to convert a 2-D char to string string char i have a 2/5 char array that i want to convert to string. How please? Best Answer Is this what you mean? >> C=['abcde';'fghij'] C = abcde fghij >> reshape(C.',[],1).' ans = abcdefghij Related SolutionsMATLAB: Convert alphabet to coresponding number by using ASCII Like thischar2num = @(c) char(c)-96;Example>> char2num('a')ans = 1>> char2num('b')ans = 2>> char2num('z')ans = 26 MATLAB: How to convert char into string >> str = 'd879c14e5b1fa7a413aa46bbbc2b8710';>> dec2bin(sscanf(str,'%2x'))ans =11011000011110011100000101001110010110110001111110100111101001000001001110101010010001101011101110111100001010111000011100010000 Related QuestionHow to define string characterHow to convert char to array of stringSplit string into string based on character typeError converting chars to string
Best Answer