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

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

[Octave-bug-tracker] [bug #47236] output of eigs() with 'sa' option diff


From: Doug Stewart
Subject: [Octave-bug-tracker] [bug #47236] output of eigs() with 'sa' option differs from Matlab
Date: Tue, 23 Feb 2016 18:20:59 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.103 Safari/537.36

Follow-up Comment #5, bug #47236 (project octave):

I have narrowed it down some more.


clear
load yaledata;

[v, m] = eigs (A, 3, "sa");
m
L= diag(sum(A))-A;
[v, d] = eigs (L, 3, "sa");
d
gplot (A, v(:,[2 1]))


m shows that it is sorted from small to big
but d is wrong.

why the eigs of L are sorted different than the eigs of A is the problem.




(file #36443)
    _______________________________________________________

Additional Item Attachment:

File name: yaledata                       Size:61 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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