data = fileread('in.txt'); data = data(:)';
fixes the problem in Matlab of getting vertical columns of text from some ASCII text files from various operating systems, that is, getting one character per line. We wish to have character row vectors, not column vectors generally.
Joe 100 eggs
data = fileread('in.txt')
J o e 1 0 0 e g g s
data = data(:)'