From help-octave-request at bevo dot che dot wisc dot edu Wed Feb 11 18:53:45 2004 Subject: Re: row vectors changed to column vectors? From: Paul Kienzle To: help-octave Cc: "Christian T. Steigies" , Jonathan Stickel Date: Wed, 11 Feb 2004 19:52:00 -0500 On Feb 11, 2004, at 8:56 AM, Andy Adler wrote: > On Tue, 10 Feb 2004, Paul Kienzle wrote: > >> I often use x(:) to force a row vector so I don't have to worry about >> the original shape. > > I thought x(:) forced _column_ vectors. Indeed. I mistyped. Usually it is sufficient that it is consistent, and it doesn't matter if it is row or column. If I really need a _row_ vector, I use x(:).' Paul Kienzle pkienzle at users dot sf dot net ------------------------------------------------------------- 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 -------------------------------------------------------------