• Scientific Computing | SciVision

  • Blog
  • Tags
  • Categories

Octave/MATLAB 'bug' with fileread

10 November, 2012

If Matlab / Octave is giving vertical columns of text from text files, one character per line, just transpose the text:

data = data(:).'

gives the expected:

Joe100eggs
  • matlab
  • gnu-octave