Calculus with Matlab or octave

Jordi Gutiérrez Hermoso jordigh at gmail.com
Fri May 9 21:03:40 CDT 2008


On 09/05/2008, hassen62 at voila.fr <hassen62 at voila.fr> wrote:
> when we make some simple calculus with Octave or Matlab, how to have precise
> results in more than 4 decimal numbers.

Octave uses double precision floats for almost everything which is
about 16 decimal digits of precision. It just doesn't show all that
precision by default, even if it does use it for computations.

If you want to see it, just type "format long", which will make Octave
display it.

- Jordi G. H.


More information about the Help-octave mailing list