help-octave
[Top][All Lists]

## Re: eignenvalue for nonsymmetric matrix

 From: Madhusudan Singh Subject: Re: eignenvalue for nonsymmetric matrix Date: Thu, 7 Apr 2005 12:21:19 -0400 User-agent: KMail/1.7.1

```On Thursday 07 April 2005 04:14, Marino Kekana wrote:
> I have installed gnu octave version 2.1.67 together with octave-
> forge-2004.09.09 on fedora core 3. I want to solve the eigenproblem of
> a non-symmetric full matrix. Octave gives me the following error:
> error: dgeev failed to converge. The sample problem is below.
>
> octave:1> stiff = [1,2,3,4;5,6,7,8;9,10,11,12;13,14,15,16]
> stiff =
>
>    1   2   3   4
>    5   6   7   8
>    9  10  11  12
>   13  14  15  16
>
> octave:2> eig(stiff)
> error: dgeev failed to converge
> octave:2>
>
> Regards, Marino.

Converges to something for me (Debian Sarge) :
GNU Octave, version 2.1.64 (i386-pc-linux-gnu).

octave:1> s = [1,2,3,4;5,6,7,8;9,10,11,12;13,14,15,16]
s =

1   2   3   4
5   6   7   8
9  10  11  12
13  14  15  16

octave:2> eig(s)
ans =

36.20937 +  0.00000i
-2.20937 +  0.00000i
0.00000 +  0.00000i
0.00000 -  0.00000i

-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------

```