help-octave
[Top][All Lists]
Advanced

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

Re: e+001 signification


From: Marc Normandin
Subject: Re: e+001 signification
Date: Mon, 14 Jan 2008 21:32:12 -0500
User-agent: Icedove 1.5.0.14pre (X11/20071018)

address@hidden 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


reply via email to

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