From help-octave-request at bevo dot che dot wisc dot edu Wed Jan 30 08:41:42 2002 Subject: fscanf transposes matrix From: Martijn Brouwer To: Octave Help Date: 30 Jan 2002 15:39:43 +0100 Hi, I am (quite) new to octave and I am looking for a way to read an entire matrix of measurement data from a file at once. I now use a=fscanf(file,"%f%f",[2,Inf]) to read a file containing two columns of numbers, but the resulting matrix is transposed compared to the file. Offcourse, this is easily cured with a ', but it is counter intuitive. Reading with [Inf,2] would in my opinion be better, but this results in an one column matrix. Any comments? Bye, Martijn Brouwer ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------