From help-octave-request at bevo dot che dot wisc dot edu Tue Feb 10 09:03:24 2004 Subject: row vectors changed to column vectors? From: "Christian T. Steigies" To: octave-help Date: Tue, 10 Feb 2004 15:56:54 +0100 Hi, I wrote a little function to generate maximum length pseudo random sequences, the function returns a vector. I am doing some matrix multiplication with this vector and notice that in octave 2.1.50 the vector is treated as row vector, whereas in 2.1.53 it is treated as a column vector. Simple example: octave:1> a(1)=1 a = 1 octave:2> a(2)=2 a = 1 2 octave:3> version ans = 2.1.50 octave:4> [nr,nc]=size(a) nr = 2 nc = 1 octave:1> a(1)=1 a = 1 octave:2> a(2)=2 a = 1 2 octave:3> version ans = 2.1.53 octave:4> [nr,nc]=size(a) nr = 1 nc = 2 Is this expected behaviour and if so is it going to stay that way? A quick search didn't show anything in the changelog, but maybe I was looking for the wrong thing. Thanks, Christian ------------------------------------------------------------- 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 -------------------------------------------------------------