octave-bug-tracker
[Top][All Lists]
Advanced

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

## [Octave-bug-tracker] [bug #55201] Wrong result while dividing matrices

 From: anonymous Subject: [Octave-bug-tracker] [bug #55201] Wrong result while dividing matrices Date: Tue, 11 Dec 2018 04:15:30 -0500 (EST) User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36

```URL:
<https://savannah.gnu.org/bugs/?55201>

Summary: Wrong result while dividing matrices
Project: GNU Octave
Submitted by: None
Submitted on: Tue 11 Dec 2018 09:15:29 AM UTC
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name: Shotem
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
Release: 4.4.1
Operating System: Microsoft Windows

_______________________________________________________

Details:

The error occurs in some occasions when trying to divide or multiply times the
inverse of a matrix

For example:

A = [3, -2; 1, 2]
v = [-4, 12]
v/A

Output:

ans =

-2.50000 3.50000

The same happened when I tried to multiply

v*inv(A)

The expected output is:

ans =

2 5

The same problem wasn't found in the following case:

A = [2, 1; 1, 3]
v = [5, 10]
v/A

Output:

ans =

1.00000 3.00000

When the answer matched the expected result.

The answers in both cases were revised using an external tool (Geogebra
Version: 6.0.513.0-offline)

Note:
The notation used does not affect the results as shown in the image.

_______________________________________________________

File Attachments:

-------------------------------------------------------
Date: Tue 11 Dec 2018 09:15:29 AM UTC  Name: Captura.PNG  Size: 38KiB   By:
None

<http://savannah.gnu.org/bugs/download.php?file_id=45624>

_______________________________________________________

Reply to this item at:

<https://savannah.gnu.org/bugs/?55201>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

```

reply via email to

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