[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #37390] In matlab repmat can have empty inputs
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #37390] In matlab repmat can have empty inputs |
Date: |
Tue, 18 Sep 2012 22:16:46 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 5.1; rv:10.0.3) Gecko/20100101 Firefox/10.0.3 |
URL:
<http://savannah.gnu.org/bugs/?37390>
Summary: In matlab repmat can have empty inputs
Project: GNU Octave
Submitted by: None
Submitted on: Tue 18 Sep 2012 22:16:45 UTC
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Matlab Compatibility
Status: None
Assigned to: None
Originator Name: R Crozier
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
Release: 3.6.1
Operating System: Any
_______________________________________________________
Details:
In Matlab I get the following output from repmat:
>> repmat([1,2,3], [], 4)
ans =
1.0000e+000 2.0000e+000 3.0000e+000
1.0000e+000 2.0000e+000 3.0000e+000
1.0000e+000 2.0000e+000 3.0000e+000
1.0000e+000 2.0000e+000 3.0000e+000
>> repmat([1,2,3], 2, [])
ans =
1.0000e+000 2.0000e+000 3.0000e+000
1.0000e+000 2.0000e+000 3.0000e+000
>> repmat([1,2,3], [], [])
ans =
1.0000e+000 2.0000e+000 3.0000e+000
Empty arguments appear to be treated as 1. Octave does not permit this
behaviour.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?37390>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #37390] In matlab repmat can have empty inputs,
anonymous <=
- [Octave-bug-tracker] [bug #37390] In matlab repmat can have empty inputs, Ben Abbott, 2012/09/21
- [Octave-bug-tracker] [bug #37390] In matlab repmat can have empty inputs, Richard, 2012/09/22
- [Octave-bug-tracker] [bug #37390] In matlab repmat can have empty inputs, Richard, 2012/09/22
- [Octave-bug-tracker] [bug #37390] In matlab repmat can have empty inputs, Ben Abbott, 2012/09/22
- [Octave-bug-tracker] [bug #37390] In matlab repmat can have empty inputs, Ben Abbott, 2012/09/22
- [Octave-bug-tracker] [bug #37390] In matlab repmat can have empty inputs, Michael Godfrey, 2012/09/22
- [Octave-bug-tracker] [bug #37390] In matlab repmat can have empty inputs, Michael Godfrey, 2012/09/22
- [Octave-bug-tracker] [bug #37390] In matlab repmat can have empty inputs, Ben Abbott, 2012/09/22