[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #49832] operations on double limites are not c
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #49832] operations on double limites are not compatiable to matlab |
Date: |
Tue, 13 Dec 2016 00:16:31 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0 |
URL:
<http://savannah.gnu.org/bugs/?49832>
Summary: operations on double limites are not compatiable to
matlab
Project: GNU Octave
Submitted by: None
Submitted on: Tue 13 Dec 2016 12:16:30 AM UTC
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Matlab Compatibility
Status: None
Assigned to: None
Originator Name: Bawazeer
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: GNU/Linux
_______________________________________________________
Details:
specially the power operation is totally different from matlab 2014.
octave version 4.3.0+
A=[-inf -realmax -1 -realmin -eps(0) 0 +eps(0) +realmin +1 +realmax +inf nan];
summ=repmat(A,12,1) +repmat(A',1,12);
%elements that are different from matlab
%(5,5) (6,5) (7,6) (5,6) (7,7) (6,7)
subb=repmat(A,12,1) -repmat(A',1,12);
%elements that are different from matlab
%(6,5) (7,5) (7,6) (5,6) (6,7) (5,7)
mull=repmat(A,12,1).*repmat(A',1,12);
%elements that are different from matlab
%(7,3) (5,3) (3,5) (9,5) (3,7) (9,7) (7,9) (5,9)
divv=repmat(A,12,1)./repmat(A',1,12);
%elements that are different from matlab
%(3,5) (9,5) (3,7) (9,7)
poww=repmat(A,12,1).^repmat(A',1,12);
%elements that are different from matlab
%almost all of them
%compare this fogure between octave and matlab
% matlab figure seems more logical
spy(isfinite(poww))
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?49832>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #49832] operations on double limites are not compatiable to matlab,
anonymous <=