|
From: | anonymous |
Subject: | [Octave-bug-tracker] [bug #29623] compatbility problem with matlab for scalor product between complex vector |
Date: | Wed, 21 Apr 2010 12:14:04 +0000 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; it; rv:1.9.1.9) Gecko/20100402 Ubuntu/9.10 (karmic) Firefox/3.5.9 |
URL: <http://savannah.gnu.org/bugs/?29623> Summary: compatbility problem with matlab for scalor product between complex vector Project: GNU Octave Submitted by: None Submitted on: mer 21 apr 2010 12:14:03 UTC Category: Interpreter Severity: 3 - Normal Item Group: Incorrect Result Status: None Assigned to: None Originator Name: Cristian Toraci Originator Email: address@hidden Open/Closed: Open Discussion Lock: Any Release: 3.2.2 Operating System: GNU/Linux _______________________________________________________ Details: Hi, I found the following compatibility issue. The result of scalar product between complex row vectors or between complex column vectors in octave is the complex conjugate of the matlab result. for instance the following instructions a = [2-i; 1+i]; b = [-1-i; -1+i]; a'*b in octave give the result ans = -1 + 1i but in matlabe give ans = -1.0000 - 1.0000i The same holds using column vectors and a*b' Is it something I get wrong or a bug? Thank you _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?29623> _______________________________________________ Messaggio inviato con/da Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |