[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #32251] Inv() returns incorrect results when c

From: anonymous
Subject: [Octave-bug-tracker] [bug #32251] Inv() returns incorrect results when called on complex matrix
Date: Wed, 26 Jan 2011 01:59:21 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv: Gecko/20101203 Firefox/3.6.13 ( .NET CLR 3.5.30729; .NET CLR 4.0.20506)


                 Summary: Inv() returns incorrect results when called on
complex matrix
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Wed 26 Jan 2011 01:59:20 AM UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Greg
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.2.4
        Operating System: Microsoft Windows



If I create a complex matrix, A, as follows
A = [1+.1j,1e-5+100j;-5-2j,-1-j]

and then calculate the inverse by calling inv(A), the incorrect result of

inv(A) = [.00241-.00103i, .172+.0689i; .0000079-.00997i, -.00086+.00165i].

I believe the answer should be

inv(A) = [-.00103+.00242i, -.172+.0695i; .0000231-.0100i, -.000522-.00179i]

Clearly the answer is in the right direction, but something has gone awry.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]