help-octave
[Top][All Lists]
Advanced

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

Re: error: `eig' undefined near line 5 column 7


From: Rich Shepard
Subject: Re: error: `eig' undefined near line 5 column 7
Date: Sat, 31 Jul 2004 13:55:38 -0700 (PDT)

On Sat, 31 Jul 2004, Dmitri A. Sergatskov wrote:

> octave:3> b=eig(A)            # this one will display the result, since
>                               # there is no ";" at the end
> b =
>
>      6.6897e+01
>     -8.9690e-01
>      4.5349e-16

Dmitri,

  While not an octave-specific question, perhaps you can point me toward
understanding why my results are so different from yours. I used a simple,
3x3, matrix from my book:

octave:1> a = load("sample.dat")
a =

  1.00000  0.33300  0.50000
  3.00000  1.00000  3.00000
  2.00000  0.33300  1.00000

octave:2> b = eig(a)
b =

   3.05294 + 0.00000i
  -0.02647 + 0.40362i
  -0.02647 - 0.40362i

  Instead of seeing values as in your example, I have the above. What is it
telling me?

Thanks,

Rich

-- 
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
<http://www.appl-ecosys.com>



-------------------------------------------------------------
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
-------------------------------------------------------------



reply via email to

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