[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #38685] ndgrid([]) should return an empty matr
From: |
Julien Bect |
Subject: |
[Octave-bug-tracker] [bug #38685] ndgrid([]) should return an empty matrix |
Date: |
Mon, 08 Apr 2013 20:08:01 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:20.0) Gecko/20100101 Firefox/20.0 |
URL:
<http://savannah.gnu.org/bugs/?38685>
Summary: ndgrid([]) should return an empty matrix
Project: GNU Octave
Submitted by: jbect
Submitted on: lun. 08 avril 2013 20:07:59 GMT
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Matlab Compatibility
Status: None
Assigned to: None
Originator Name: Julien Bect
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: GNU/Linux
_______________________________________________________
Details:
ndgrid() fails if one of its arguments is empty. For matlab compatibility, it
should return an empty matrix instead.
Here is what I get with Matlab R2012a:
>> x = ndgrid([]); whos x
Name Size Bytes Class Attributes
x 0x1 0 double
>> [x, y] = ndgrid([], []); whos x y
Name Size Bytes Class Attributes
x 0x0 0 double
y 0x0 0 double
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?38685>
_______________________________________________
Message posté via/par Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #38685] ndgrid([]) should return an empty matrix,
Julien Bect <=