Skip to content

Instantly share code, notes, and snippets.

@konfou konfou/ascii.m
Last active Oct 25, 2017

Embed
What would you like to do?
display an ASCII chart (Octave)
chr = char(32:127)(:);
spc = ' ' * ones(length(chr), 1);
nms = num2str([32:127](:));
tab = [nms spc chr spc];
qti = reshape(tab',length(tab)/2,[])';
disp(qti)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.