[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with eig in Octave 3.2.4
From: |
David Bateman |
Subject: |
Re: Problem with eig in Octave 3.2.4 |
Date: |
Fri, 30 Jul 2010 03:03:18 -0700 (PDT) |
vliviu wrote:
>
> I have installed Octave 3.2.4 and fails some tests at make check.
> Some are at eig decomposition, some at imscale etc.
> For instance, trying
> eig(A) for A=[1 3 -2; 3 5 1; -2 1 4]
> gives aberrant results.
>
> Any workaround? Thanks in advance.
>
>
It works for me (3.2.4 MingW version from OctaveForge)
octave:1> [v,l] = eig(A);
V =
-0.818394 -0.315302 -0.480434
0.434733 0.207055 -0.876433
-0.375818 0.926128 0.032380
l =
Diagonal Matrix
-1.5120 0 0
0 4.9045 0
0 0 6.6076
octave:2> norm(A*v(:,1) - l(1,1)*v(:,1))
ans = 6.2804e-016
octqve:3> norm(A*v(:,2) - l(2,2)*v(:,2))
ans = 6.2804e-016
octqve:4> norm(A*v(:,3) - l(3,3)*v(:,3))
ans = 2.0351e-015
Please be more specific in what you find "aberrant"
D.
--
View this message in context:
http://octave.1599824.n4.nabble.com/Problem-with-eig-in-Octave-3-2-4-tp2307745p2307804.html
Sent from the Octave - General mailing list archive at Nabble.com.
Re: Problem with eig in Octave 3.2.4, Martin Helm, 2010/07/30
Re: Problem with eig in Octave 3.2.4,
David Bateman <=