[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #45820] linspace() incompatibility with Matlab
From: |
Guillaume |
Subject: |
[Octave-bug-tracker] [bug #45820] linspace() incompatibility with Matlab when N < 2 |
Date: |
Wed, 26 Aug 2015 10:52:28 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:33.0) Gecko/20100101 Firefox/33.0 |
Follow-up Comment #11, bug #45820 (project octave):
There has indeed been a change in MATLAB's behavior.
R2010b returns:
>> linspace(1,10,0)
ans =
10
while R2011a returns:
>> linspace(1,10,0)
ans =
Empty matrix: 1-by-0
The help text is the same in both releases:
For N < 2, LINSPACE returns X2.
but with recent versions of MATLAB, it now states:
For N = 1, LINSPACE returns X2.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?45820>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #45820] linspace() incompatibility with Matlab, argumento 'N', (continued)
- [Octave-bug-tracker] [bug #45820] linspace() incompatibility with Matlab, argumento 'N', Philip Nienhuis, 2015/08/25
- [Octave-bug-tracker] [bug #45820] linspace() incompatibility with Matlab when N < 2, Rik, 2015/08/25
- [Octave-bug-tracker] [bug #45820] linspace() incompatibility with Matlab when N < 2, John W. Eaton, 2015/08/25
- [Octave-bug-tracker] [bug #45820] linspace() incompatibility with Matlab when N < 2, Rik, 2015/08/25
- [Octave-bug-tracker] [bug #45820] linspace() incompatibility with Matlab when N < 2, Mike Miller, 2015/08/25
- [Octave-bug-tracker] [bug #45820] linspace() incompatibility with Matlab when N < 2, Mike Miller, 2015/08/25
- [Octave-bug-tracker] [bug #45820] linspace() incompatibility with Matlab when N < 2, Rik, 2015/08/25
- [Octave-bug-tracker] [bug #45820] linspace() incompatibility with Matlab when N < 2, Rik, 2015/08/25
- [Octave-bug-tracker] [bug #45820] linspace() incompatibility with Matlab when N < 2, Philip Nienhuis, 2015/08/26
- [Octave-bug-tracker] [bug #45820] linspace() incompatibility with Matlab when N < 2, Philip Nienhuis, 2015/08/26
- [Octave-bug-tracker] [bug #45820] linspace() incompatibility with Matlab when N < 2,
Guillaume <=
- [Octave-bug-tracker] [bug #45820] linspace() incompatibility with Matlab when N < 2, Rik, 2015/08/26
- [Octave-bug-tracker] [bug #45820] linspace() incompatibility with Matlab when N < 2, Guillaume, 2015/08/26
- [Octave-bug-tracker] [bug #45820] linspace() incompatibility with Matlab when N < 2, Rik, 2015/08/29