help-octave
[Top][All Lists]
Advanced

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

Why does this happen


From: Preben Randhol
Subject: Why does this happen
Date: 13 Oct 1998 17:22:10 +0200

I have octave 2.0.13 on a Linux 2.0.32 with RedHat 5.0 (glibc)

I cannot understand why this happens:


octave:1> A=[3.3330,15920,-10.333;2.2220,16.710,9.6120;-1.5611,5.1792,-1.6855] 
A =

    3.3330e+00    1.5920e+04   -1.0333e+01
    2.2220e+00    1.6710e+01    9.6120e+00
   -1.5611e+00    5.1792e+00   -1.6855e+00

octave:2> B=[7973.6;.96500;2.7140]
B =

  7973.60000
     0.96500
     2.71400

octave:3> format long
octave:4> A
A =

       3.33300000000000   15920.00000000000000     -10.33300000000000
       2.22200000000000      16.71000000000000       9.61200000000000
      -1.56110000000000       5.17920000000000      -1.68550000000000

octave:5> B
B =

  7973.600000000000364
     0.965000000000000
     2.714000000000000


Why is B(1) now suddenly 7973.600000000000364 and not
7973.600000000000000 ?

-- 
Preben Randhol               I am but mad north-north-west. When the wind is 
http://www.pvv.org/~randhol  southerly I know a hawk from a handsaw. 
                                                     [Hamlet] -- Shakespeare



reply via email to

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