help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: empty ranges are matrices ?


From: John W. Eaton
Subject: Re: empty ranges are matrices ?
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
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]