[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #32121] logm returns complex numbers
From: |
Guillaume |
Subject: |
[Octave-bug-tracker] [bug #32121] logm returns complex numbers |
Date: |
Thu, 13 Jan 2011 19:57:43 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.9.2.13) Gecko/20101203 SUSE/3.6.13-0.2.1 Firefox/3.6.13 |
URL:
<http://savannah.gnu.org/bugs/?32121>
Summary: logm returns complex numbers
Project: GNU Octave
Submitted by: gyom
Submitted on: Thu Jan 13 19:57:42 2011
Category: Libraries
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name: Guillaume
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: GNU/Linux
_______________________________________________________
Details:
logm sometimes returns complex numbers with Octave dev, while it doesn't with
Octave 3.2.4 or MATLAB.
For example, with the attached file:
>> load R.mat
>> lR = logm(R)
Octave dev returns:
lR =
-2.6321e-16 - 1.3010e-18i -1.5583e-03 + 3.4694e-18i -3.6555e-02 -
5.2042e-18i
1.5583e-03 + 6.9389e-18i 1.2423e-16 - 4.1633e-17i 1.9404e-01 +
2.0817e-17i
3.6555e-02 - 5.2042e-18i -1.9404e-01 + 2.0817e-17i -6.9390e-16 +
1.3878e-17i
while Octave 3.2.4 returns:
lR =
-1.4738e-16 -1.5583e-03 -3.6555e-02
1.5583e-03 4.1562e-16 1.9404e-01
3.6555e-02 -1.9404e-01 -6.0125e-16
and MATLAB returns:
lR =
-0.0000 -0.0016 -0.0366
0.0016 0.0000 0.1940
0.0366 -0.1940 -0.0000
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Thu Jan 13 19:57:42 2011 Name: R.mat Size: 384B By: gyom
<http://savannah.gnu.org/bugs/download.php?file_id=22403>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?32121>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #32121] logm returns complex numbers,
Guillaume <=