www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/ConvertIntegerstoPrintableASCIICharacterArrayExample.m

    %% Convert Integers to Printable ASCII Character Array  
% Convert the integers 32–127 into a 3-by-32 array of the printable ASCII
% characters.   

%%  
A = (32:127);
S = char(A);
S = reshape(S,32,3)'