help-octave
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Scientific notation problem
From
:
Yunfei Ding
Subject
:
Scientific notation problem
Date
:
Tue, 29 Apr 2008 23:24:16 -0700
If I have a matrix:
A=[0,1e3,0;1e-9,0,0]
Octave gives:
A =
0.0000e+000 1.0000e+003 0.0000e+000
1.0000e-009 0.0000e+000 0.0000e+000
However if I have a matrix:
A=[0,1e0,0;1e-9,0,0]
Octave gives:
A =
0.00000 1.00000 0.00000
0.00000 0.00000 0.00000
So I lose the data 1e-9 in the second row. It seems like Octave decides what to do according to the first row of the data. How can I force it to use scientific notation all the time?
Thanks a lot!
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
Scientific notation problem
,
Yunfei Ding
<=
Re: Scientific notation problem
,
Francesco Cat
,
2008/04/30
Prev by Date:
Re: memory exhausted error.
Next by Date:
Re: leasqr and anonymous functions
Previous by thread:
leasqr and anonymous functions
Next by thread:
Re: Scientific notation problem
Index(es):
Date
Thread