From help-request at octave dot org Tue Mar 29 13:16:07 2005 Subject: Re: empty ranges are matrices ? From: "John W. Eaton" To: Jean-Francois Cardoso Cc: help at octave dot org Date: Tue, 29 Mar 2005 14:23:50 -0500 On 29-Mar-2005, I wrote: | Yes, I think the behavior is consistent, but it does not seem to be | compatible. Matlab seems to allow | | r = 1:-1 ; s = [ r ; 1 ] | | to succeed without any warning, but it will warn for other mismatches, | for example | | [zeros(10,1), 1] Oops, I meant something like [zeros(10,0), 1] jwe ------------------------------------------------------------- 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 -------------------------------------------------------------