e+001 signification
Marc Normandin
mnormand at iupui.edu
Mon Jan 14 20:32:12 CST 2008
hassen62 at voila.fr wrote:
> I have done some calculus with Octave, I have obtained as output : -1.26
> e+001
>
> e+001 what does it mean?e+000?
In this context you can interpret "e" as meaning "ten to the power of".
For example, your output "-1.26e+001" is equivalent to -1.26*10^1 or
-12.6. Similarly, "3.45e-3" would be the same as 0.00345.
Two related points that may be of interest:
1. The use of "e" described above applies not only to reading output,
but can also be used when entering data (e.g., "x=1e4" is the same as
"x=10000").
2. You can use the "format" command to specify how your results are
printed to the screen. (Type "help format" at the octave prompt for
more details.)
Hope this helps.
Regards,
Marc
More information about the Help-octave
mailing list