Last active
October 25, 2017 11:15
-
-
Save konfou/f9a73dab0e617c9e9b567d40ca53da6e to your computer and use it in GitHub Desktop.
display an ASCII chart (Octave)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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