[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #53489] Difference answer than MATLAB.
From: |
Dildar Sk |
Subject: |
[Octave-bug-tracker] [bug #53489] Difference answer than MATLAB. |
Date: |
Tue, 27 Mar 2018 14:16:26 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36 |
URL:
<http://savannah.gnu.org/bugs/?53489>
Summary: Difference answer than MATLAB.
Project: GNU Octave
Submitted by: hodor123456
Submitted on: Tue 27 Mar 2018 06:16:24 PM UTC
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Inaccurate Result
Status: None
Assigned to: None
Originator Name: Dildar Sk
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: GNU/Linux
_______________________________________________________
Details:
In MATLAB,
>> logspace(inf,inf)
ans =
Columns 1 through 18
Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf
Inf Inf Inf Inf Inf
Columns 19 through 36
Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf
Inf Inf Inf Inf Inf
Columns 37 through 50
Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf Inf
Inf
>>
But in Octave,
>> logspace(inf,inf)
ans =
Columns 1 through 11:
Inf NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN
Columns 12 through 22:
NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN
Columns 23 through 33:
NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN
Columns 34 through 44:
NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN
Columns 45 through 50:
NaN NaN NaN NaN NaN Inf
>>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?53489>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #53489] Difference answer than MATLAB.,
Dildar Sk <=