[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Calculus with Matlab or octave
From: |
Sergei Steshenko |
Subject: |
Re: Calculus with Matlab or octave |
Date: |
Sat, 10 May 2008 02:45:41 -0700 (PDT) |
--- Jordi GutiƩrrez Hermoso <address@hidden> wrote:
> On 09/05/2008, address@hidden <address@hidden> 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.
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www.cae.wisc.edu/mailman/listinfo/help-octave
>
Try also
help output_precision
and use, say,
output_precision(18)
.
Regards,
Sergei.
Applications From Scratch: http://appsfromscratch.berlios.de/
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ