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

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

[Octave-bug-tracker] [bug #49232] Complex pinv giving incorrect results


From: Ceral Paquet
Subject: [Octave-bug-tracker] [bug #49232] Complex pinv giving incorrect results
Date: Wed, 5 Oct 2016 19:26:45 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.1) Gecko/20100101 Goanna/20160924 PaleMoon/26.4.1

Follow-up Comment #3, bug #49232 (project octave):

It looks like the root cause is that V is being wrongly conjugated in svd in
Octave.

[U S V] = svd(A);


Octave:

>> U * S * conj(V)'
ans =

   1.00000000000000 + 5.00000000000000i   2.00000000000000 +
6.00000000000000i
   3.00000000000000 + 7.00000000000000i   4.00000000000000 +
8.00000000000000i



Matlab:

>> U * S * V'
ans =

  0.999999999999999 + 5.000000000000000i  1.999999999999999 +
6.000000000000004i
  2.999999999999998 + 7.000000000000000i  3.999999999999998 +
8.000000000000002i



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?49232>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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